Module Name:    src
Committed By:   roy
Date:           Fri Aug 21 13:24:47 UTC 2015

Modified Files:
        src/external/bsd/dhcpcd/dist: if-bsd.c

Log Message:
Remove unused variable.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/external/bsd/dhcpcd/dist/if-bsd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/dhcpcd/dist/if-bsd.c
diff -u src/external/bsd/dhcpcd/dist/if-bsd.c:1.23 src/external/bsd/dhcpcd/dist/if-bsd.c:1.24
--- src/external/bsd/dhcpcd/dist/if-bsd.c:1.23	Fri Aug 21 10:39:00 2015
+++ src/external/bsd/dhcpcd/dist/if-bsd.c	Fri Aug 21 13:24:47 2015
@@ -1,5 +1,5 @@
 #include <sys/cdefs.h>
- __RCSID("$NetBSD: if-bsd.c,v 1.23 2015/08/21 10:39:00 roy Exp $");
+ __RCSID("$NetBSD: if-bsd.c,v 1.24 2015/08/21 13:24:47 roy Exp $");
 
 /*
  * dhcpcd - DHCP client daemon
@@ -1060,12 +1060,10 @@ if_addrflags6(const struct in6_addr *add
 int
 if_getlifetime6(struct ipv6_addr *ia)
 {
-	int r;
 	struct in6_ifreq ifr6;
 	time_t t;
 	struct in6_addrlifetime *lifetime;
 
-	r = -1;
 	memset(&ifr6, 0, sizeof(ifr6));
 	strlcpy(ifr6.ifr_name, ia->iface->name, sizeof(ifr6.ifr_name));
 	ifr6.ifr_addr.sin6_family = AF_INET6;

Reply via email to