summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-19 17:46:01 -0800
committerBill Yi <byi@google.com>2015-02-20 02:28:49 +0000
commit6ea37346ad20ac623312051b293bf5656e8072f6 (patch)
tree0cbcf17e3fef6deaf6c1e04ab432e516b7be268d
parent4cc75ff1ce527949387107d9d140fb6a69e5e1f0 (diff)
downloadandroid_external_android-clat-6ea37346ad20ac623312051b293bf5656e8072f6.tar.gz
android_external_android-clat-6ea37346ad20ac623312051b293bf5656e8072f6.tar.bz2
android_external_android-clat-6ea37346ad20ac623312051b293bf5656e8072f6.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) {