summaryrefslogtreecommitdiff
path: root/src/cgame/cg_weapons.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/cgame/cg_weapons.c
parent0092faa58e55ee8fd29e2887573bffbb8c5d7faa (diff)
Fix compiler warnings
Mostly a metric ton of unused variables
Diffstat (limited to 'src/cgame/cg_weapons.c')
-rw-r--r--src/cgame/cg_weapons.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cgame/cg_weapons.c b/src/cgame/cg_weapons.c
index 2f437f0..d919b61 100644
--- a/src/cgame/cg_weapons.c
+++ b/src/cgame/cg_weapons.c
@@ -1188,14 +1188,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;