Remove to unsued variables not found by Clang

This commit is contained in:
Yamagi Burmeister 2014-02-13 08:10:06 +01:00
parent e53422065e
commit f4058dc8e9

View file

@ -1493,7 +1493,6 @@ medic_finish_spawn(edict_t *self)
int count; int count;
int inc; int inc;
int num_summoned; /* should be 1, 3, or 5 */ int num_summoned; /* should be 1, 3, or 5 */
qboolean behind = false;
edict_t *designated_enemy; edict_t *designated_enemy;
if (!self) if (!self)
@ -1503,7 +1502,6 @@ medic_finish_spawn(edict_t *self)
if (self->plat2flags < 0) if (self->plat2flags < 0)
{ {
behind = true;
self->plat2flags *= -1; self->plat2flags *= -1;
} }
@ -1770,7 +1768,6 @@ void
MedicCommanderCache(void) MedicCommanderCache(void)
{ {
edict_t *newEnt; edict_t *newEnt;
int modelidx;
int i; int i;
/* better way to do this? this is quick and dirty */ /* better way to do this? this is quick and dirty */
@ -1788,8 +1785,8 @@ MedicCommanderCache(void)
G_FreeEdict(newEnt); G_FreeEdict(newEnt);
} }
modelidx = gi.modelindex("models/items/spawngro/tris.md2"); gi.modelindex("models/items/spawngro/tris.md2");
modelidx = gi.modelindex("models/items/spawngro2/tris.md2"); gi.modelindex("models/items/spawngro2/tris.md2");
} }
void void