From: molivier Date: Tue, 6 Apr 2004 13:08:07 +0000 (+0000) Subject: Removed an unused cvar (logfile) X-Git-Tag: xonotic-v0.1.0preview~5933 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=92c22498b38d6ea208ab23d7978a274fad877950;p=xonotic%2Fdarkplaces.git Removed an unused cvar (logfile) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4087 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/console.c b/console.c index 963ba2d7..e27c3d72 100644 --- a/console.c +++ b/console.c @@ -43,7 +43,6 @@ char *con_text = 0; //seconds cvar_t con_notifytime = {CVAR_SAVE, "con_notifytime","3"}; cvar_t con_notify = {CVAR_SAVE, "con_notify","4"}; -cvar_t logfile = {0, "logfile","0"}; #define MAX_NOTIFYLINES 32 // cl.time time the line was generated for transparent notify lines @@ -203,7 +202,6 @@ void Con_InitLogging (void) sprintf (temp, "%s%s", fs_gamedir, t2); unlink (temp); } - logfile.integer = 1; } } @@ -214,8 +212,6 @@ Con_Init */ void Con_Init (void) { - Cvar_RegisterVariable(&logfile); - console_mempool = Mem_AllocPool("console"); con_text = Mem_Alloc(console_mempool, CON_TEXTSIZE); memset (con_text, ' ', CON_TEXTSIZE);