BIND 10 master, updated. affd720719e9a25eac1ec2e91c7c27f0fe28bd67 [master] Corrected two minor cppchecks.

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Feb 19 14:21:14 UTC 2014


The branch, master has been updated
       via  affd720719e9a25eac1ec2e91c7c27f0fe28bd67 (commit)
      from  f93e6fba92ae4d4d62a130b0b6398dd7e7508fa0 (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 affd720719e9a25eac1ec2e91c7c27f0fe28bd67
Author: Thomas Markwalder <tmark at isc.org>
Date:   Wed Feb 19 09:20:33 2014 -0500

    [master] Corrected two minor cppchecks.

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

Summary of changes:
 src/bin/dhcp4/tests/d2_unittest.cc       |    2 +-
 src/lib/dhcpsrv/tests/d2_udp_unittest.cc |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/bin/dhcp4/tests/d2_unittest.cc b/src/bin/dhcp4/tests/d2_unittest.cc
index 031c959..d645f0c 100644
--- a/src/bin/dhcp4/tests/d2_unittest.cc
+++ b/src/bin/dhcp4/tests/d2_unittest.cc
@@ -41,7 +41,7 @@ D2Dhcpv4Srv::d2ClientErrorHandler(const
 const bool Dhcp4SrvD2Test::SHOULD_PASS;
 const bool Dhcp4SrvD2Test::SHOULD_FAIL;
 
-Dhcp4SrvD2Test::Dhcp4SrvD2Test() {
+Dhcp4SrvD2Test::Dhcp4SrvD2Test() : rcode_(-1) {
 }
 
 Dhcp4SrvD2Test::~Dhcp4SrvD2Test() {
diff --git a/src/lib/dhcpsrv/tests/d2_udp_unittest.cc b/src/lib/dhcpsrv/tests/d2_udp_unittest.cc
index cc17d19..0a1d931 100644
--- a/src/lib/dhcpsrv/tests/d2_udp_unittest.cc
+++ b/src/lib/dhcpsrv/tests/d2_udp_unittest.cc
@@ -106,6 +106,7 @@ public:
         FD_ZERO(&read_fds);
 
         int select_fd = -1;
+        // cppcheck-suppress redundantAssignment
         ASSERT_NO_THROW(select_fd = getSelectFd());
 
         FD_SET(select_fd,  &read_fds);



More information about the bind10-changes mailing list