diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-12-18 06:11:24 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-12-18 06:11:24 +0000 |
commit | 1c58aba831fcf19768aa93bd070c13ec280a1a6a (patch) | |
tree | 24e6bb8b3fd6f35c6f66916999d1bebebca44af5 | |
parent | e2f3bf52701215ad719b6c41b9b812d71157fa4c (diff) |
Nuke more unused variables.
ok millert@
-rw-r--r-- | usr.bin/lex/filter.c | 6 | ||||
-rw-r--r-- | usr.bin/vi/cl/cl_term.c | 3 | ||||
-rw-r--r-- | usr.bin/vi/vi/vs_msg.c | 4 | ||||
-rw-r--r-- | usr.sbin/rarpd/rarpd.c | 5 |
4 files changed, 6 insertions, 12 deletions
diff --git a/usr.bin/lex/filter.c b/usr.bin/lex/filter.c index 8daa1db4a15..3ae77c450cf 100644 --- a/usr.bin/lex/filter.c +++ b/usr.bin/lex/filter.c @@ -1,4 +1,4 @@ -/* $OpenBSD: filter.c,v 1.6 2015/11/19 23:28:03 tedu Exp $ */ +/* $OpenBSD: filter.c,v 1.7 2016/12/18 06:11:23 krw Exp $ */ /* filter - postprocessing of flex output through filters */ @@ -131,10 +131,6 @@ bool filter_apply_chain(struct filter * chain) { int pid, pipes[2]; - int r; - const int readsz = 512; - char *buf; - /* * Tricky recursion, since we want to begin the chain at the END. diff --git a/usr.bin/vi/cl/cl_term.c b/usr.bin/vi/cl/cl_term.c index da68685ce1c..4551389f394 100644 --- a/usr.bin/vi/cl/cl_term.c +++ b/usr.bin/vi/cl/cl_term.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cl_term.c,v 1.26 2016/07/07 09:26:26 semarie Exp $ */ +/* $OpenBSD: cl_term.c,v 1.27 2016/12/18 06:11:23 krw Exp $ */ /*- * Copyright (c) 1993, 1994 @@ -77,7 +77,6 @@ static TKLIST const m1_tklist[] = { /* Input mappings (set or delete). */ int cl_term_init(SCR *sp) { - KEYLIST *kp; SEQ *qp; TKLIST const *tkp; char *t; diff --git a/usr.bin/vi/vi/vs_msg.c b/usr.bin/vi/vi/vs_msg.c index 45f572ab666..05b532f634c 100644 --- a/usr.bin/vi/vi/vs_msg.c +++ b/usr.bin/vi/vi/vs_msg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vs_msg.c,v 1.18 2016/05/27 09:18:12 martijn Exp $ */ +/* $OpenBSD: vs_msg.c,v 1.19 2016/12/18 06:11:23 krw Exp $ */ /*- * Copyright (c) 1993, 1994 @@ -61,7 +61,7 @@ vs_busy(SCR *sp, const char *msg, busy_t btype) VI_PRIVATE *vip; static const char flagc[] = "|/-\\"; struct timespec ts, ts_diff; - size_t len, notused; + size_t notused; /* Ex doesn't display busy messages. */ if (F_ISSET(sp, SC_EX | SC_SCR_EXWROTE)) diff --git a/usr.sbin/rarpd/rarpd.c b/usr.sbin/rarpd/rarpd.c index 97dddcd2d9a..4566768c20a 100644 --- a/usr.sbin/rarpd/rarpd.c +++ b/usr.sbin/rarpd/rarpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rarpd.c,v 1.68 2016/05/28 07:00:18 natano Exp $ */ +/* $OpenBSD: rarpd.c,v 1.69 2016/12/18 06:11:23 krw Exp $ */ /* $NetBSD: rarpd.c,v 1.25 1998/04/23 02:48:33 mrg Exp $ */ /* @@ -104,8 +104,7 @@ main(int argc, char *argv[]) { extern char *__progname; extern int optind, opterr; - int op, devnull, f; - pid_t pid; + int op; /* All error reporting is done through syslogs. */ openlog(__progname, LOG_PID | LOG_CONS, LOG_DAEMON); |