diff options
Diffstat (limited to 'usr.bin')
-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 |
3 files changed, 4 insertions, 9 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)) |