From: havoc Date: Sat, 27 May 2006 20:12:03 +0000 (+0000) Subject: remove an unused variable X-Git-Tag: xonotic-v0.1.0preview~3974 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f29f94990d4328a0c27cb16fbf30bb6ac9f73f7a;p=xonotic%2Fdarkplaces.git remove an unused variable git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6396 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/console.c b/console.c index 23b61964..ea1a7e2f 100644 --- a/console.c +++ b/console.c @@ -774,7 +774,6 @@ void Con_DrawNotify (void) text = con_text + (i % con_totallines)*con_linewidth; if (gamemode == GAME_NEXUIZ) { - int linewidth = 0; int chars = 0; int finalchars = 0; int j; @@ -791,7 +790,6 @@ void Con_DrawNotify (void) if (text[j] == ' ') continue; finalchars = chars; - linewidth = j + 1; } // center the line using the calculated width x = (vid_conwidth.integer - finalchars * con_textsize.value) * 0.5;