diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2011-08-07 23:40:03 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:18:13 +0000 |
commit | 7d331f075edd65eab5b0fce5d823f70abd5e95fb (patch) | |
tree | 8a8cf21cce429d4de1839268f3ab991a9c18785c /src/game/g_admin.c | |
parent | cb1e78beeeae8ff8f78310cff3bc30e9b9dce8b8 (diff) |
* Silence some set-but-unused variable warnings. There are still more. Many others will be handled in the next upstream merge.
Diffstat (limited to 'src/game/g_admin.c')
-rw-r--r-- | src/game/g_admin.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 ); |