Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/dhcpcd/dist Remove unused variable.
details: https://anonhg.NetBSD.org/src/rev/797655e61160
branches: trunk
changeset: 340076:797655e61160
user: roy <roy%NetBSD.org@localhost>
date: Fri Aug 21 13:24:47 2015 +0000
description:
Remove unused variable.
diffstat:
external/bsd/dhcpcd/dist/if-bsd.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 71e680d0b5eb -r 797655e61160 external/bsd/dhcpcd/dist/if-bsd.c
--- a/external/bsd/dhcpcd/dist/if-bsd.c Fri Aug 21 12:45:10 2015 +0000
+++ b/external/bsd/dhcpcd/dist/if-bsd.c Fri Aug 21 13:24:47 2015 +0000
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index