From 1be7bcf4e96658898dd5e4b413819e660b4c7063 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 19 Jun 2005 17:42:47 +0000 Subject: [PATCH] removed 3 unused variables git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5448 d7cf8633-e32d-0410-b094-e92efae38249 --- keys.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/keys.c b/keys.c index 8dffbe90..ba0b0dcc 100644 --- a/keys.c +++ b/keys.c @@ -32,14 +32,11 @@ int edit_line = 31; int history_line = 31; char key_lines[32][MAX_INPUTLINE]; int key_linepos; -static int ctrl_down = false; -static int key_lastpress; int key_insert = true; // insert key toggle (for editing) keydest_t key_dest; int key_consoleactive; -static int key_count; // incremented every key event static int key_bmap, key_bmap2; char *keybindings[8][1024]; @@ -864,7 +861,7 @@ Key_Event (int key, char ascii, qboolean down) if( !down ) { if( bind && bind[ 0 ] == '+') { - Cbuf_AddText( va( "-%s %i\n", bind + 1, key) ); + Cbuf_AddText( va( "-%s %i\n", bind + 1, key) ); } } else { // handle ESCAPE specially, so unbinding wont help @@ -934,7 +931,7 @@ Key_Event (int key, char ascii, qboolean down) case key_menu: MR_Keydown( key, ascii ); break; - case key_game: + case key_game: // unbound key break; default: -- 2.39.2