summaryrefslogtreecommitdiff
path: root/bin/ksh/lex.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2004-12-30 21:34:25 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2004-12-30 21:34:25 +0000
commitbccfa47f3507b55b95f8d81fe74a05fbfe822df8 (patch)
treead6c0f9a121a97b8ae2c9060f2b4cd22a1d11df2 /bin/ksh/lex.c
parent6eb290c167c4a5f9543379bf27e0960d0a22f85f (diff)
Remove -Wno-unused form CFLAGS and kill some unused vars found as a result of
that. ok millert@
Diffstat (limited to 'bin/ksh/lex.c')
-rw-r--r--bin/ksh/lex.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/ksh/lex.c b/bin/ksh/lex.c
index cc6d447bb65..bae9cfd60b3 100644
--- a/bin/ksh/lex.c
+++ b/bin/ksh/lex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: lex.c,v 1.32 2004/12/30 21:11:40 millert Exp $ */
+/* $OpenBSD: lex.c,v 1.33 2004/12/30 21:34:24 otto Exp $ */
/*
* lexical analysis and source input
@@ -1161,8 +1161,7 @@ dopprompt(const char *sp, int ntruncate, const char **spp, int doprint)
{
char strbuf[1024], tmpbuf[1024], *p, *str, nbuf[32], delimiter = '\0';
int len, c, n, totlen = 0, indelimit = 0, counting = 1, delimitthis;
- const char *cp = sp, *ccp;
- extern INT32 njobs;
+ const char *cp = sp;
struct tm *tm;
time_t t;