diff options
author | Dan Albert <danalbert@google.com> | 2015-02-19 17:46:01 -0800 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2015-03-03 16:51:27 +0900 |
commit | edb308b89abb85929762d06ba3e91e92308cfc24 (patch) | |
tree | 03acd6dddbdc5a11c5feb6734ec631042f94d4ed | |
parent | d432b4f6bfb23b6fbf921a620d2661b2acb108fe (diff) | |
download | platform_external_android-clat-edb308b89abb85929762d06ba3e91e92308cfc24.tar.gz platform_external_android-clat-edb308b89abb85929762d06ba3e91e92308cfc24.tar.bz2 platform_external_android-clat-edb308b89abb85929762d06ba3e91e92308cfc24.zip |
Remove unused variables.
Change-Id: I3b1384e78c55b7327b6a635d0a853665cbb59e8b
-rw-r--r-- | setif.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |