From: krw Date: Fri, 13 Jul 2018 09:03:44 +0000 (+0000) Subject: Unused variables. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e2a0fd57f687570d9c0f21c00d097fe8ac1f955c;p=openbsd Unused variables. ok henning@ --- diff --git a/usr.sbin/ndp/ndp.c b/usr.sbin/ndp/ndp.c index ff142525133..aeea0f69b72 100644 --- a/usr.sbin/ndp/ndp.c +++ b/usr.sbin/ndp/ndp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ndp.c,v 1.89 2018/06/17 18:07:18 benno Exp $ */ +/* $OpenBSD: ndp.c,v 1.90 2018/07/13 09:03:44 krw Exp $ */ /* $KAME: ndp.c,v 1.101 2002/07/17 08:46:33 itojun Exp $ */ /* @@ -137,13 +137,6 @@ static char *sec2str(time_t); static void ts_print(const struct timeval *); static int rdomain; -static char *rtpref_str[] = { - "medium", /* 00 */ - "high", /* 01 */ - "rsv", /* 10 */ - "low" /* 11 */ -}; - int main(int argc, char *argv[]) { @@ -884,7 +877,7 @@ void ifinfo(char *ifname) { struct in6_ndireq nd; - int i, s; + int s; if ((s = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { err(1, "socket");