From 4d46255e2317a9febdf36368496fa958056883e2 Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Sun, 29 Mar 2020 14:45:05 +0100 Subject: Fix compiler warnings Mostly a metric ton of unused variables --- src/cgame/cg_predict.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/cgame/cg_predict.c') diff --git a/src/cgame/cg_predict.c b/src/cgame/cg_predict.c index 03442ed..c8e8a33 100644 --- a/src/cgame/cg_predict.c +++ b/src/cgame/cg_predict.c @@ -551,7 +551,6 @@ void CG_PredictPlayerState( void ) { int cmdNum, current, i; playerState_t oldPlayerState; - qboolean moved; usercmd_t oldestCmd; usercmd_t latestCmd; int stateIndex = 0, predictCmd = 0; @@ -738,7 +737,6 @@ void CG_PredictPlayerState( void ) } // run cmds - moved = qfalse; for( cmdNum = current - CMD_BACKUP + 1; cmdNum <= current; cmdNum++ ) { @@ -857,8 +855,6 @@ void CG_PredictPlayerState( void ) stateIndex = ( stateIndex + 1 ) % NUM_SAVED_STATES; } - moved = qtrue; - // add push trigger movement effects CG_TouchTriggerPrediction( ); -- cgit