]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3589] Compilation fix.
authorTomek Mrugalski <tomasz@isc.org>
Mon, 13 Oct 2014 20:27:46 +0000 (22:27 +0200)
committerTomek Mrugalski <tomasz@isc.org>
Mon, 13 Oct 2014 20:27:46 +0000 (22:27 +0200)
src/lib/dhcpsrv/tests/subnet_unittest.cc

index 4338110467f446263f3e463b89abe56c17b91ec7..d42a0ba51170d33090393c8493fbd2b6d53903de 100644 (file)
@@ -243,9 +243,6 @@ TEST(Subnet4Test, addInvalidOption) {
     // Create the V4 subnet.
     Subnet4Ptr subnet(new Subnet4(IOAddress("192.0.2.0"), 8, 1, 2, 3));
 
-    // Some dummy option code.
-    uint16_t code = 100;
-
     // Create NULL pointer option. Attempt to add NULL option
     // should result in exception.
     OptionPtr option2;