From 9f613bb9c9be87fbd800a1e87044070a04d75adf Mon Sep 17 00:00:00 2001 From: Stephen Morris Date: Fri, 20 Apr 2012 17:51:13 +0100 Subject: [PATCH] [1540] Removed declaration and initialization of unused variable ... which was left over from a previous change. --- src/bin/dhcp6/dhcp6_srv.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/bin/dhcp6/dhcp6_srv.cc b/src/bin/dhcp6/dhcp6_srv.cc index 0b1b577f1c..f4a535ec8a 100644 --- a/src/bin/dhcp6/dhcp6_srv.cc +++ b/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.