From: Stephen Morris Date: Fri, 20 Apr 2012 16:51:13 +0000 (+0100) Subject: [1540] Removed declaration and initialization of unused variable X-Git-Tag: trac2351_base~240^2~8^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9f613bb9c9be87fbd800a1e87044070a04d75adf;p=thirdparty%2Fkea.git [1540] Removed declaration and initialization of unused variable ... which was left over from a previous change. --- 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.