unused variables are unused

This commit is contained in:
Enno Rehling 2012-05-09 18:37:31 -07:00
parent fda365cd84
commit c6b8f4c491
1 changed files with 0 additions and 15 deletions

View File

@ -295,9 +295,6 @@ int sp_combatrosthauch(struct castorder * co)
int force = lovar(power * 15);
int qi, k = 0;
/* Immer aus der ersten Reihe nehmen */
unused(sp);
if (!count_enemies(b, fi, FIGHT_ROW, BEHIND_ROW - 1,
SELECT_ADVANCE | SELECT_FIND)) {
message *msg = msg_message("rust_effect_0", "mage", fi->unit);
@ -803,8 +800,6 @@ int sp_shadowcall(struct castorder * co)
const race *rc = rc_find(races[rng_int() % 3]);
message *msg;
unused(sp);
u = create_unit(r, mage->faction, force, rc, 0, NULL, mage);
setstatus(u, ST_FIGHT);
@ -841,8 +836,6 @@ int sp_wolfhowl(struct castorder * co)
if (force>0) {
unit *u =
create_unit(r, mage->faction, force, rc, 0, NULL, mage);
unused(sp);
leave(u, true);
setstatus(u, ST_FIGHT);
@ -882,8 +875,6 @@ int sp_shadowknights(struct castorder * co)
int force = MAX(1, (int)get_force(power, 3));
message *msg;
unused(sp);
u =
create_unit(r, mage->faction, force, new_race[RC_SHADOWKNIGHT], 0, NULL,
mage);
@ -926,8 +917,6 @@ int sp_strong_wall(struct castorder * co)
strongwall_ct = ct_find("strongwall");
}
unused(sp);
if (!mage->building) {
return 0;
}
@ -1376,8 +1365,6 @@ int sp_reeling_arrows(struct castorder * co)
battle *b = fi->side->battle;
message *m;
unused(power);
b->reelarrow = true;
m = msg_message("cast_spell_effect", "mage spell", fi->unit, sp);
message_all(b, m);
@ -1399,8 +1386,6 @@ int sp_denyattack(struct castorder * co)
region *r = b->region;
message *m;
unused(power);
/* Fliehende Einheiten verlassen auf jeden Fall Gebäude und Schiffe. */
if (!fval(r->terrain, SEA_REGION)) {
leave(mage, false);