]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Warning about unused found variable fixed.
authorTomek Mrugalski <tomasz@isc.org>
Fri, 23 Dec 2011 17:06:17 +0000 (18:06 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Fri, 23 Dec 2011 17:06:17 +0000 (18:06 +0100)
src/lib/dhcp/tests/iface_mgr_unittest.cc

index b890bca0e89f7a41b20fce03e39cb9f878b0e6e9..ce639450454ab2a9c9e9a24576955eafb18aa956 100644 (file)
@@ -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;