Browse Source

[2726] Really do suppress this warning

Put it so cppcheck finds it.
Michal 'vorner' Vaner 12 years ago
parent
commit
0f00c3880a
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/lib/dhcp/option_custom.h

+ 1 - 2
src/lib/dhcp/option_custom.h

@@ -309,9 +309,8 @@ private:
     /// @tparam data type to be validated.
     /// @tparam data type to be validated.
     ///
     ///
     /// @throw isc::dhcp::InvalidDataType if the type is invalid.
     /// @throw isc::dhcp::InvalidDataType if the type is invalid.
-    //cppcheck-suppress unusedPrivateFunction It's used, confusion because of
-    //templates
     template<typename T>
     template<typename T>
+    // cppcheck-suppress unusedPrivateFunction
     void checkDataType(const uint32_t index) const;
     void checkDataType(const uint32_t index) const;
 
 
     /// @brief Check if data field index is valid.
     /// @brief Check if data field index is valid.