From ca4ac6261183000b24de2f58a873fb1652dc83c9 Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Thu, 15 Dec 2016 14:34:16 +0100 Subject: [PATCH] net: tests: Remove unused variables from dhcpv4 unit test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes this: error: ‘zero_addr’ defined but not used [-Werror=unused-const-variable=] ... Change-Id: I5b0baf597e62f3206e15638a63e129503b76b048 Signed-off-by: Tomasz Bursztyka --- tests/net/dhcpv4/src/main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/net/dhcpv4/src/main.c b/tests/net/dhcpv4/src/main.c index a66fd27d312..ebe30006ef4 100644 --- a/tests/net/dhcpv4/src/main.c +++ b/tests/net/dhcpv4/src/main.c @@ -148,8 +148,6 @@ static const struct net_eth_addr dst_addr = { { 0x10, 0x00, 0x00, 0x00, 0x00, 0x02 } }; static const struct in_addr server_addr = { { { 192, 0, 2, 1 } } }; static const struct in_addr client_addr = { { { 255, 255, 255, 255 } } }; -static const struct in_addr broascast_addr = { { { 255, 255, 255, 255 } } }; -static const struct in_addr zero_addr = { { { 0, 0, 0, 0 } } }; #define SERVER_PORT 67 #define CLIENT_PORT 68