Browse Source

[1540] Removed declaration and initialization of unused variable

... which was left over from a previous change.
Stephen Morris 13 years ago
parent
commit
9f613bb9c9
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/bin/dhcp6/dhcp6_srv.cc

+ 0 - 3
src/bin/dhcp6/dhcp6_srv.cc

@@ -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.