Browse Source

[2726] Suppress false positive cppcheck warning

Michal 'vorner' Vaner 12 years ago
parent
commit
f7b60d9d56
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/lib/dhcp/option_custom.h

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

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