diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2011-08-07 23:40:03 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:18:13 +0000 |
commit | 7d331f075edd65eab5b0fce5d823f70abd5e95fb (patch) | |
tree | 8a8cf21cce429d4de1839268f3ab991a9c18785c /src/cgame/cg_buildable.c | |
parent | cb1e78beeeae8ff8f78310cff3bc30e9b9dce8b8 (diff) |
* Silence some set-but-unused variable warnings. There are still more. Many others will be handled in the next upstream merge.
Diffstat (limited to 'src/cgame/cg_buildable.c')
-rw-r--r-- | src/cgame/cg_buildable.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 ) ) |