BIND 10 master, updated. 156282cb2989360f6d329049f58e60917859f61e Fix for warning about unused variables in iface_mgr_unittest.cc

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Dec 23 13:44:33 UTC 2011


The branch, master has been updated
       via  156282cb2989360f6d329049f58e60917859f61e (commit)
      from  d82df10e192238851799070520e23f753db6c2ee (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 156282cb2989360f6d329049f58e60917859f61e
Author: Tomek Mrugalski <tomasz at isc.org>
Date:   Fri Dec 23 14:44:01 2011 +0100

    Fix for warning about unused variables in iface_mgr_unittest.cc

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

Summary of changes:
 src/lib/dhcp/tests/iface_mgr_unittest.cc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dhcp/tests/iface_mgr_unittest.cc b/src/lib/dhcp/tests/iface_mgr_unittest.cc
index f2d8016..46e1543 100644
--- a/src/lib/dhcp/tests/iface_mgr_unittest.cc
+++ b/src/lib/dhcp/tests/iface_mgr_unittest.cc
@@ -387,6 +387,9 @@ TEST_F(IfaceMgrTest, sendReceive4) {
         socket2 = ifacemgr->openSocket(LOOPBACK, loAddr, DHCP4_SERVER_PORT + 10000 + 1);
     );
 
+    EXPECT_GE(socket1, 0);
+    EXPECT_GE(socket2, 0);
+
     boost::shared_ptr<Pkt4> sendPkt(new Pkt4(DHCPDISCOVER, 1234) );
 
     sendPkt->setLocalAddr(IOAddress("127.0.0.1"));




More information about the bind10-changes mailing list