diff options
author | archie <archie@FreeBSD.org> | 1998-12-07 21:58:50 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 1998-12-07 21:58:50 +0000 |
commit | 60d13c7a9dd18f720483338ebef03609492ca98c (patch) | |
tree | 5709d8cdab99e3c1cb9ae7c2117627c1031fdf39 /sys/i386/isa/pcvt | |
parent | 2f8d013d96c256b3a48e227aab238e53eb9304cf (diff) | |
download | FreeBSD-src-60d13c7a9dd18f720483338ebef03609492ca98c.zip FreeBSD-src-60d13c7a9dd18f720483338ebef03609492ca98c.tar.gz |
The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static
and local variables, goto labels, and functions declared but not defined.
Diffstat (limited to 'sys/i386/isa/pcvt')
-rw-r--r-- | sys/i386/isa/pcvt/pcvt_kbd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/i386/isa/pcvt/pcvt_kbd.c b/sys/i386/isa/pcvt/pcvt_kbd.c index 579c1a2..2113ee0 100644 --- a/sys/i386/isa/pcvt/pcvt_kbd.c +++ b/sys/i386/isa/pcvt/pcvt_kbd.c @@ -239,7 +239,7 @@ update_led(void) /* Don't update LED's unless necessary. */ - int opri, new_ledstate, response1, response2; + int opri, new_ledstate; opri = spltty(); new_ledstate = (vsp->scroll_lock) | @@ -249,6 +249,7 @@ update_led(void) if (new_ledstate != ledstate) { #ifndef _I386_ISA_KBDIO_H_ + int response1, response2; ledstate = LEDSTATE_UPDATE_PENDING; @@ -412,7 +413,9 @@ static int set_keyboard_param(int command, int data) { int s; +#if 0 int c; +#endif if (kbdc == NULL) return 1; |