commit | edb308b89abb85929762d06ba3e91e92308cfc24 | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Thu Feb 19 17:46:01 2015 -0800 |
committer | Lorenzo Colitti <lorenzo@google.com> | Tue Mar 03 16:51:27 2015 +0900 |
tree | 03acd6dddbdc5a11c5feb6734ec631042f94d4ed | |
parent | d432b4f6bfb23b6fbf921a620d2661b2acb108fe [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) {