summaryrefslogtreecommitdiff
path: root/src/game/g_maprotation.c
diff options
context:
space:
mode:
authorIronClawTrem <louie.nutman@gmail.com>2020-03-29 14:45:05 +0100
committerIronClawTrem <louie.nutman@gmail.com>2020-03-29 14:45:05 +0100
commit4d46255e2317a9febdf36368496fa958056883e2 (patch)
treefba0c60b70c5616e7055ac142cdd7d22687fdc90 /src/game/g_maprotation.c
parent0092faa58e55ee8fd29e2887573bffbb8c5d7faa (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.c4
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;