From 33ca8eec34f1864667b90e037e3d3def031012df Mon Sep 17 00:00:00 2001 From: roy Date: Fri, 21 Aug 2015 13:24:47 +0000 Subject: [PATCH] Remove unused variable. --- external/bsd/dhcpcd/dist/if-bsd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/external/bsd/dhcpcd/dist/if-bsd.c b/external/bsd/dhcpcd/dist/if-bsd.c index 6581764335ce..a156c4dc0884 100644 --- a/external/bsd/dhcpcd/dist/if-bsd.c +++ b/external/bsd/dhcpcd/dist/if-bsd.c @@ -1,5 +1,5 @@ #include - __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 *addr, const struct interface *ifp) 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;