]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
remove an unused variable
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 27 May 2006 20:12:03 +0000 (20:12 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 27 May 2006 20:12:03 +0000 (20:12 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6396 d7cf8633-e32d-0410-b094-e92efae38249

console.c

index 23b6196472173aa261afd53971d72088430ed14a..ea1a7e2f5d9086fbbdde01043e2103a9f59cb88f 100644 (file)
--- 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;