From 7d331f075edd65eab5b0fce5d823f70abd5e95fb Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Sun, 7 Aug 2011 23:40:03 +0000 Subject: * Silence some set-but-unused variable warnings. There are still more. Many others will be handled in the next upstream merge. --- src/game/g_admin.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/game/g_admin.c') diff --git a/src/game/g_admin.c b/src/game/g_admin.c index ef607fe0..dbbde2f7 100644 --- a/src/game/g_admin.c +++ b/src/game/g_admin.c @@ -482,7 +482,6 @@ static void admin_writeconfig( void ) { fileHandle_t f; int t; - char levels[ MAX_STRING_CHARS ] = {""}; g_admin_admin_t *a; g_admin_level_t *l; g_admin_ban_t *b; @@ -555,7 +554,6 @@ static void admin_writeconfig( void ) } for( c = g_admin_commands; c; c = c->next ) { - levels[ 0 ] = '\0'; trap_FS_Write( "[command]\n", 10, f ); trap_FS_Write( "command = ", 10, f ); admin_writeconfig_string( c->command, f ); -- cgit