BIND 10 trac2726, updated. 0f00c3880a0cb7498cd5adb86831f779d57d321f [2726] Really do suppress this warning

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Jun 13 08:52:18 UTC 2013


The branch, trac2726 has been updated
       via  0f00c3880a0cb7498cd5adb86831f779d57d321f (commit)
      from  21034c5291df20ab7b9ebf79c16336af25e16594 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0f00c3880a0cb7498cd5adb86831f779d57d321f
Author: Michal 'vorner' Vaner <vorner at vorner.cz>
Date:   Thu Jun 13 10:51:19 2013 +0200

    [2726] Really do suppress this warning
    
    Put it so cppcheck finds it.

-----------------------------------------------------------------------

Summary of changes:
 src/lib/dhcp/option_custom.h |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/option_custom.h b/src/lib/dhcp/option_custom.h
index 92d09b5..a7d2b95 100644
--- a/src/lib/dhcp/option_custom.h
+++ b/src/lib/dhcp/option_custom.h
@@ -309,9 +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>
+    // cppcheck-suppress unusedPrivateFunction
     void checkDataType(const uint32_t index) const;
 
     /// @brief Check if data field index is valid.



More information about the bind10-changes mailing list