summaryrefslogtreecommitdiff
path: root/src/cgame/cg_weapons.c
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2012-07-12 21:35:39 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:18:17 +0000
commit22f97fece2bce63f57e0b8fca275281429705c9c (patch)
treea989d666e918998aefcc7678d5d3784399dd756d /src/cgame/cg_weapons.c
parent8d448680f5b3bcd2a67a3684308bb948e4d3ddad (diff)
* Fix a bunch of variable set but not used warnings
Diffstat (limited to 'src/cgame/cg_weapons.c')
-rw-r--r--src/cgame/cg_weapons.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/cgame/cg_weapons.c b/src/cgame/cg_weapons.c
index 9fd6f04e..0d50e421 100644
--- a/src/cgame/cg_weapons.c
+++ b/src/cgame/cg_weapons.c
@@ -1395,10 +1395,8 @@ void CG_DrawItemSelect( rectDef_t *rect, vec4_t color )
int numItems = 0, selectedItem = 0;
int length;
qboolean vertical;
- centity_t *cent;
playerState_t *ps;
- cent = &cg_entities[ cg.snap->ps.clientNum ];
ps = &cg.snap->ps;
// don't display if dead