From f4058dc8e954585072dedf8afb0d40b0a56710d0 Mon Sep 17 00:00:00 2001 From: Yamagi Burmeister Date: Thu, 13 Feb 2014 08:10:06 +0100 Subject: [PATCH] Remove to unsued variables not found by Clang --- src/monster/medic/medic.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/monster/medic/medic.c b/src/monster/medic/medic.c index 9f80e8f..f9ac64e 100644 --- a/src/monster/medic/medic.c +++ b/src/monster/medic/medic.c @@ -1493,7 +1493,6 @@ medic_finish_spawn(edict_t *self) int count; int inc; int num_summoned; /* should be 1, 3, or 5 */ - qboolean behind = false; edict_t *designated_enemy; if (!self) @@ -1503,7 +1502,6 @@ medic_finish_spawn(edict_t *self) if (self->plat2flags < 0) { - behind = true; self->plat2flags *= -1; } @@ -1770,7 +1768,6 @@ void MedicCommanderCache(void) { edict_t *newEnt; - int modelidx; int i; /* better way to do this? this is quick and dirty */ @@ -1788,8 +1785,8 @@ MedicCommanderCache(void) G_FreeEdict(newEnt); } - modelidx = gi.modelindex("models/items/spawngro/tris.md2"); - modelidx = gi.modelindex("models/items/spawngro2/tris.md2"); + gi.modelindex("models/items/spawngro/tris.md2"); + gi.modelindex("models/items/spawngro2/tris.md2"); } void