summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-19 17:46:01 -0800
committerLorenzo Colitti <lorenzo@google.com>2015-03-03 16:51:27 +0900
commitedb308b89abb85929762d06ba3e91e92308cfc24 (patch)
tree03acd6dddbdc5a11c5feb6734ec631042f94d4ed
parentd432b4f6bfb23b6fbf921a620d2661b2acb108fe (diff)
downloadandroid_external_android-clat-edb308b89abb85929762d06ba3e91e92308cfc24.tar.gz
android_external_android-clat-edb308b89abb85929762d06ba3e91e92308cfc24.tar.bz2
android_external_android-clat-edb308b89abb85929762d06ba3e91e92308cfc24.zip
Remove unused variables.
Change-Id: I3b1384e78c55b7327b6a635d0a853665cbb59e8b
-rw-r--r--setif.c2
1 files changed, 1 insertions, 1 deletions
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) {