]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1540] Removed declaration and initialization of unused variable
authorStephen Morris <stephen@isc.org>
Fri, 20 Apr 2012 16:51:13 +0000 (17:51 +0100)
committerStephen Morris <stephen@isc.org>
Fri, 20 Apr 2012 16:51:13 +0000 (17:51 +0100)
... which was left over from a previous change.

src/bin/dhcp6/dhcp6_srv.cc

index 0b1b577f1c17e160134aed9f83799a63e7b4ff59..f4a535ec8a76ebab9136039272b5464987422cfc 100644 (file)
@@ -183,9 +183,6 @@ void Dhcpv6Srv::setServerID() {
             continue;
         }
 
-        uint8_t zeros[IfaceMgr::MAX_MAC_LEN];
-        memset(zeros, 0, IfaceMgr::MAX_MAC_LEN);
-
         // some interfaces (like lo on Linux) report 6-bytes long
         // MAC adress 00:00:00:00:00:00. Let's not use such weird interfaces
         // to generate DUID.