From a34878eed8675af1813ed36c696733d381955cf4 Mon Sep 17 00:00:00 2001 From: havoc Date: Mon, 18 Jan 2010 10:11:10 +0000 Subject: [PATCH] fix a warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9838 d7cf8633-e32d-0410-b094-e92efae38249 --- keys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keys.c b/keys.c index e0177edb..c7342593 100644 --- a/keys.c +++ b/keys.c @@ -712,7 +712,7 @@ Key_Console (int key, int unicode) else if(keydown[K_SHIFT]) // move cursor to the previous character ignoring colors { int pos; - size_t inchar; + size_t inchar = 0; pos = u8_prevbyte(key_line, key_linepos); while (pos) if(pos-1 > 0 && key_line[pos-1] == STRING_COLOR_TAG && isdigit(key_line[pos])) -- 2.39.2