]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[remove-unused-variable-20191025] [fix] Removed unused variables
authorFrancis Dupont <fdupont@isc.org>
Fri, 25 Oct 2019 12:14:59 +0000 (14:14 +0200)
committerFrancis Dupont <fdupont@isc.org>
Fri, 25 Oct 2019 12:14:59 +0000 (14:14 +0200)
src/lib/dhcpsrv/testutils/generic_host_data_source_unittest.cc

index 6638a3423d607d0686dc72aa01c8c66465ae9006..1953dfe575aa920188111899ef943600e8af0e6c 100644 (file)
@@ -587,7 +587,6 @@ GenericHostDataSourceTest::testGetAllbyHostnameSubnet4() {
     bool got1 = false;
     bool got2 = false;
     bool got3 = false;
-    bool got4 = false;
     for (auto host : from_hds) {
         if (host->getIdentifierType() == Host::IDENT_HWADDR) {
             EXPECT_FALSE(got1);
@@ -671,7 +670,6 @@ GenericHostDataSourceTest::testGetAllbyHostnameSubnet6() {
     bool got1 = false;
     bool got2 = false;
     bool got3 = false;
-    bool got4 = false;
     for (auto host : from_hds) {
         if (host->getIdentifierType() == Host::IDENT_HWADDR) {
             EXPECT_FALSE(got1);