From edb308b89abb85929762d06ba3e91e92308cfc24 Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Thu, 19 Feb 2015 17:46:01 -0800 Subject: Remove unused variables. Change-Id: I3b1384e78c55b7327b6a635d0a853665cbb59e8b --- setif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setif.c b/setif.c index 359ed24..07f5bac 100644 --- a/setif.c +++ b/setif.c @@ -159,7 +159,7 @@ static int do_anycast_setsockopt(int sock, int what, struct in6_addr *addr, int * ifname - name of interface to add the address to */ int add_anycast_address(int sock, struct in6_addr *addr, const char *ifname) { - int ifindex, s, ret; + int ifindex; ifindex = if_nametoindex(ifname); if (!ifindex) { -- cgit v1.2.3