From 7d331f075edd65eab5b0fce5d823f70abd5e95fb Mon Sep 17 00:00:00 2001 From: Christopher Schwarz Date: Sun, 7 Aug 2011 23:40:03 +0000 Subject: * Silence some set-but-unused variable warnings. There are still more. Many others will be handled in the next upstream merge. --- src/cgame/cg_buildable.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/cgame') diff --git a/src/cgame/cg_buildable.c b/src/cgame/cg_buildable.c index 207c6b49..d2bbe05b 100644 --- a/src/cgame/cg_buildable.c +++ b/src/cgame/cg_buildable.c @@ -1233,7 +1233,6 @@ void CG_Buildable( centity_t *cent ) team_t team = BG_Buildable( es->modelindex )->team; float scale; int health; - float healthScale; //must be before EF_NODRAW check if( team == TEAM_ALIENS ) @@ -1450,7 +1449,6 @@ void CG_Buildable( centity_t *cent ) } health = es->generic1; - healthScale = (float)health / BG_Buildable( es->modelindex )->health; if( health < cent->lastBuildableHealth && ( es->eFlags & EF_B_SPAWNED ) ) -- cgit