diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-12-14 12:18:28 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-12-14 12:18:28 +0000 |
commit | 28e461d672204f54b8eb68a590d36c23a32f9574 (patch) | |
tree | 3e3c51ee95dec9ad261710930b40e4426389cbb8 /bin/chio | |
parent | fb3035e3379d9258753316427b03a4d8d0676d07 (diff) |
-Wall'ing.
Diffstat (limited to 'bin/chio')
-rw-r--r-- | bin/chio/chio.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/bin/chio/chio.c b/bin/chio/chio.c index e8045728cbd..8954ba8dda1 100644 --- a/bin/chio/chio.c +++ b/bin/chio/chio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chio.c,v 1.4 1996/11/02 03:47:10 deraadt Exp $ */ +/* $OpenBSD: chio.c,v 1.5 1996/12/14 12:17:35 mickey Exp $ */ /* $NetBSD: chio.c,v 1.1.1.1 1996/04/03 00:34:38 thorpej Exp $ */ /* @@ -104,7 +104,6 @@ main(argc, argv) char **argv; { int ch, i; - char *cp; while ((ch = getopt(argc, argv, "f:")) != -1) { switch (ch) { @@ -478,7 +477,12 @@ do_status(cname, argc, argv) struct changer_params data; u_int8_t *statusp; int i, count, chet, schet, echet; - char *cmdname, *description; + char *description; + +#ifdef lint + count = 0; + description = NULL; +#endif /* * On a status command, we expect the following: |