From 997dca8b0297aa186931a84e9f9838b2867f7f1e Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Thu, 13 Apr 2017 11:30:00 +0000 Subject: remove a bunch of set-but-otherwise-unused variables --- src/cgame/cg_weapons.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/cgame/cg_weapons.c') diff --git a/src/cgame/cg_weapons.c b/src/cgame/cg_weapons.c index 135e441..600a776 100644 --- a/src/cgame/cg_weapons.c +++ b/src/cgame/cg_weapons.c @@ -1159,14 +1159,9 @@ void CG_DrawItemSelect( rectDef_t *rect, vec4_t color ) int length; int selectWindow; qboolean vertical; - centity_t *cent; - playerState_t *ps; int colinfo[ 64 ]; - cent = &cg_entities[ cg.snap->ps.clientNum ]; - ps = &cg.snap->ps; - // don't display if dead if( cg.predictedPlayerState.stats[ STAT_HEALTH ] <= 0 ) return; -- cgit