diff options
author | M. Kristall <mkpdev@gmail.com> | 2012-07-12 21:35:39 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:18:17 +0000 |
commit | 22f97fece2bce63f57e0b8fca275281429705c9c (patch) | |
tree | a989d666e918998aefcc7678d5d3784399dd756d /src/ui/ui_gameinfo.c | |
parent | 8d448680f5b3bcd2a67a3684308bb948e4d3ddad (diff) |
* Fix a bunch of variable set but not used warnings
Diffstat (limited to 'src/ui/ui_gameinfo.c')
-rw-r--r-- | src/ui/ui_gameinfo.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ui/ui_gameinfo.c b/src/ui/ui_gameinfo.c index 18a604b8..95c57c6f 100644 --- a/src/ui/ui_gameinfo.c +++ b/src/ui/ui_gameinfo.c @@ -169,7 +169,6 @@ void UI_LoadArenas( void ) char* dirptr; int i, n; int dirlen; - char *type; ui_numArenas = 0; uiInfo.mapCount = 0; @@ -193,10 +192,6 @@ void UI_LoadArenas( void ) for( n = 0; n < ui_numArenas; n++ ) { - // determine type - type = Info_ValueForKey( ui_arenaInfos[ n ], "type" ); - // if no type specified, it will be treated as "ffa" - uiInfo.mapList[uiInfo.mapCount].cinematic = -1; uiInfo.mapList[uiInfo.mapCount].mapLoadName = String_Alloc( Info_ValueForKey( ui_arenaInfos[n], "map" ) ); uiInfo.mapList[uiInfo.mapCount].mapName = String_Alloc( Info_ValueForKey( ui_arenaInfos[n], "longname" ) ); |