commit | 6ea37346ad20ac623312051b293bf5656e8072f6 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Thu Feb 19 17:46:01 2015 -0800 |
committer | Bill Yi <byi@google.com> | Fri Feb 20 02:28:49 2015 +0000 |
tree | 0cbcf17e3fef6deaf6c1e04ab432e516b7be268d | |
parent | 4cc75ff1ce527949387107d9d140fb6a69e5e1f0 [diff] |
Remove unused variables. Change-Id: I3b1384e78c55b7327b6a635d0a853665cbb59e8b
diff --git a/setif.c b/setif.c index 359ed24..07f5bac 100644 --- a/setif.c +++ b/setif.c
@@ -159,7 +159,7 @@ * 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) {