From a0a1e52eb300b574098ae18fc7e6849ff50c2e5e Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 30 Jul 2018 23:52:06 +0200 Subject: [PATCH] fix compile error netifd-2018-07-30-75ee7905/interface-ip.c:724:11: error: unused variable 'macaddr' [-Werror=unused-variable] Signed-off-by: John Crispin --- interface-ip.c | 1 - 1 file changed, 1 deletion(-) diff --git a/interface-ip.c b/interface-ip.c index c855cdb..b577e66 100644 --- a/interface-ip.c +++ b/interface-ip.c @@ -721,7 +721,6 @@ eui64_ifaceid(struct interface *iface, struct in6_addr *addr) return false; /* get mac address */ - uint8_t *macaddr = iface->l3_dev.dev->settings.macaddr; uint8_t *ifaceid = addr->s6_addr + 8; memcpy(ifaceid, st.macaddr, 3); memcpy(ifaceid + 5, st.macaddr + 3, 3); -- 2.30.2