summaryrefslogtreecommitdiff
path: root/src/game/g_maprotation.c
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2017-04-13 11:30:00 +0000
committer/dev/humancontroller <devhc@example.com>2017-04-15 17:24:16 +0200
commitc596670999d843b430df0c4fe0eeabd148614638 (patch)
tree6290cc624bbbeaa50e2a3c3d7bc705721867e971 /src/game/g_maprotation.c
parenta989cd97673eb20dbd9a2fed5723832d5cd39512 (diff)
remove a bunch of unused variables and some no-op code
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 eb76d70..2438ebc 100644
--- a/src/game/g_maprotation.c
+++ b/src/game/g_maprotation.c
@@ -1054,10 +1054,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;