diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2020-03-29 11:46:57 +0200 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2020-03-29 11:46:57 +0200 |
commit | b2b602040de53f1f4e1905e507e0aa740928f3e9 (patch) | |
tree | 6fb6f835ee7d76ca512a1d1dba505bf912cdbab1 /src/game/g_maprotation.c | |
parent | 95aac45e9a1e93b3016d7d221b4d8b43e3b556c4 (diff) |
Fix compiler warnings
Mostly a metric ton of unused variables
Diffstat (limited to 'src/game/g_maprotation.c')
-rw-r--r-- | src/game/g_maprotation.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/g_maprotation.c b/src/game/g_maprotation.c index a846c79..64822a2 100644 --- a/src/game/g_maprotation.c +++ b/src/game/g_maprotation.c @@ -1101,10 +1101,10 @@ static int G_GetMapVoteWinner( int *winvotes, int *totalvotes, int *resultorder qboolean G_IntermissionMapVoteWinner( void ) { - int winner, winvotes, totalvotes; + int winvotes, totalvotes; int nonvotes; - winner = G_GetMapVoteWinner( &winvotes, &totalvotes, NULL ); + G_GetMapVoteWinner( &winvotes, &totalvotes, NULL ); if( winvotes * 2 > level.numConnectedClients ) return qtrue; nonvotes = level.numConnectedClients - totalvotes; |