summaryrefslogtreecommitdiff
path: root/lib/libcurses
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2007-10-17 20:10:45 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2007-10-17 20:10:45 +0000
commit6ebd6f0640abbc5048b4975c40fac23ec404930b (patch)
treee364116c961d5cba80890eb55637a78439f78bf8 /lib/libcurses
parent4f4368721b2619584d945f74ab23327bad6ac500 (diff)
remove "unused variable" warnings
tested by deraadt@ on a gcc2 arch looks ok ray@ ok deraadt@
Diffstat (limited to 'lib/libcurses')
-rw-r--r--lib/libcurses/base/keybound.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libcurses/base/keybound.c b/lib/libcurses/base/keybound.c
index 91bdfb8700d..7bb74aad505 100644
--- a/lib/libcurses/base/keybound.c
+++ b/lib/libcurses/base/keybound.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: keybound.c,v 1.3 2006/05/14 09:01:06 espie Exp $ */
+/* $OpenBSD: keybound.c,v 1.4 2007/10/17 20:10:44 chl Exp $ */
/****************************************************************************
* Copyright (c) 1999,2000 Free Software Foundation, Inc. *
@@ -45,8 +45,6 @@ MODULE_ID("$From: keybound.c,v 1.3 2000/12/10 02:43:26 tom Exp $")
NCURSES_EXPORT(char *)
keybound(int code, int count)
{
- unsigned short k;
-
if (code < 0 || code > (int)USHRT_MAX) {
return NULL;
} else {