BIND 10 master, updated. 0cc0fe82ac433701d239a5ca1e8307cfcb9c7825 Warning about unused found variable fixed.

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Dec 23 17:07:20 UTC 2011


The branch, master has been updated
       via  0cc0fe82ac433701d239a5ca1e8307cfcb9c7825 (commit)
      from  50ef0ada77267ba465c6e35489f435a42ac9d39f (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 0cc0fe82ac433701d239a5ca1e8307cfcb9c7825
Author: Tomek Mrugalski <tomasz at isc.org>
Date:   Fri Dec 23 18:06:17 2011 +0100

    Warning about unused found variable fixed.

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

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 b890bca..ce63945 100644
--- a/src/lib/dhcp/tests/iface_mgr_unittest.cc
+++ b/src/lib/dhcp/tests/iface_mgr_unittest.cc
@@ -867,6 +867,9 @@ TEST_F(IfaceMgrTest, detectIfaces_linux) {
                      << " matched with 'ifconfig -a' output." << endl;
             }
         }
+        if (!found) { // corresponding interface was not found
+            FAIL();
+        }
     }
 
     delete ifacemgr;




More information about the bind10-changes mailing list