Parcourir la source

[2726] Suppress false positive cppcheck warning

Michal 'vorner' Vaner il y a 12 ans
Parent
commit
f7b60d9d56
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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;