]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4281] Removed unused variable.
authorMarcin Siodelski <marcin@isc.org>
Wed, 1 Jun 2016 16:08:52 +0000 (18:08 +0200)
committerMarcin Siodelski <marcin@isc.org>
Wed, 1 Jun 2016 16:08:52 +0000 (18:08 +0200)
src/lib/dhcpsrv/tests/generic_host_data_source_unittest.cc

index d8d53d62fba3fa85c32666e899360e4c9449bb6e..03e79270a247401ea3de5ece2f628fc56966622e 100644 (file)
@@ -1143,8 +1143,6 @@ void GenericHostDataSourceTest::testOptionsReservations46(const bool formatted)
     ASSERT_NO_THROW(addTestOptions(host, formatted, DHCP4_AND_DHCP6));
     // Insert host, options and IPv6 reservations into respective tables.
     ASSERT_NO_THROW(hdsptr_->add(host));
-    // Subnet id will be used in queries to the database.
-    SubnetID subnet_id = host->getIPv6SubnetID();
 
     // getAll(identifier_type, identifier, identifier_size)
     ConstHostCollection hosts_by_id = hdsptr_->getAll(host->getIdentifierType(),