BIND 10 master, updated. 5f5dd8f7dcfbb4423d53fe87ced200e4fdc9bef5 [master] add cppcheck suppression rule for an intentional self-equivalence test

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Aug 29 19:21:16 UTC 2012


The branch, master has been updated
       via  5f5dd8f7dcfbb4423d53fe87ced200e4fdc9bef5 (commit)
      from  8fd8ed2aed8f309b655661389cf6ae043a854fe5 (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 5f5dd8f7dcfbb4423d53fe87ced200e4fdc9bef5
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Wed Aug 29 12:20:44 2012 -0700

    [master] add cppcheck suppression rule for an intentional self-equivalence test
    
    okayed on jabber.

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

Summary of changes:
 src/lib/dns/tests/labelsequence_unittest.cc |    1 +
 1 file changed, 1 insertion(+)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/tests/labelsequence_unittest.cc b/src/lib/dns/tests/labelsequence_unittest.cc
index 5eb4941..28f624a 100644
--- a/src/lib/dns/tests/labelsequence_unittest.cc
+++ b/src/lib/dns/tests/labelsequence_unittest.cc
@@ -180,6 +180,7 @@ TEST_F(LabelSequenceTest, equals_insensitive) {
 // operator==().  This is mostly trivial wrapper, so it should suffice to
 // check some basic cases.
 TEST_F(LabelSequenceTest, operatorEqual) {
+    // cppcheck-suppress duplicateExpression
     EXPECT_TRUE(ls1 == ls1);      // self equivalence
     EXPECT_TRUE(ls1 == LabelSequence(n1)); // equivalent two different objects
     EXPECT_FALSE(ls1 == ls2);      // non equivalent objects



More information about the bind10-changes mailing list