diff options
| author | Garance A Drosehn <gad@FreeBSD.org> | 2001-07-15 03:10:54 +0000 |
|---|---|---|
| committer | Garance A Drosehn <gad@FreeBSD.org> | 2001-07-15 03:10:54 +0000 |
| commit | cda5daf84c2aedbd0018b010a4267ec86058f167 (patch) | |
| tree | 5ce718e4c5d55e0481a07617153346ab04278fd4 | |
| parent | 961d3645cc40f694946d20186b991bbc32b0d406 (diff) | |
Notes
| -rw-r--r-- | usr.sbin/lpr/lpc/lpc.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/usr.sbin/lpr/lpc/lpc.c b/usr.sbin/lpr/lpc/lpc.c index d01c935d2aa0..1f6d39a2f409 100644 --- a/usr.sbin/lpr/lpc/lpc.c +++ b/usr.sbin/lpr/lpc/lpc.c @@ -148,12 +148,16 @@ static void cmdscanner(void) { register struct cmd *c; - static EditLine *el = NULL; - static History *hist = NULL; - int num = 0; - int len; - const char *bp = NULL; - + static EditLine *el; + static History *hist; + size_t len; + int num; + const char *bp; + + num = 0; + bp = NULL; + el = NULL; + hist = NULL; for (;;) { if (fromatty) { if (!el) { |
