diff options
author | Tim Angus <tim@ngus.net> | 2005-06-27 00:25:17 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-06-27 00:25:17 +0000 |
commit | dcce2065d01d3e4b175fcb4efe8ad2aa787c8c05 (patch) | |
tree | 376a9ad66e1dfe748ca3422a9bd5f7693b282cdd /src/game/g_main.c | |
parent | 2225bfe3b44d5f73976cc3aa17e1aa766fc57148 (diff) |
* Fixed all the warnings reported after turning on -Wall
Diffstat (limited to 'src/game/g_main.c')
-rw-r--r-- | src/game/g_main.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/game/g_main.c b/src/game/g_main.c index 239b46d9..77de3f01 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -860,8 +860,8 @@ void G_SpawnClients( pTeam_t team ) int clientNum; gentity_t *ent, *spawn; vec3_t spawn_origin, spawn_angles; - spawnQueue_t *sq; - int numSpawns; + spawnQueue_t *sq = NULL; + int numSpawns = 0; if( team == PTE_ALIENS ) { @@ -935,7 +935,6 @@ Recalculate the quantity of building points available to the teams void G_CalculateBuildPoints( void ) { int i; - int bclass; buildable_t buildable; gentity_t *ent; int localHTP = g_humanBuildPoints.integer, @@ -1578,8 +1577,6 @@ can see the last frag. */ void CheckExitRules( void ) { - int i; - gclient_t *cl; char s[ MAX_STRING_CHARS ]; trap_Cvar_VariableStringBuffer( "mapname", s, sizeof( s ) ); |