eliminate unused variable warning.

This commit is contained in:
Enno Rehling 2014-10-14 20:56:58 +02:00
parent 7987b82c62
commit 76b2325c19
1 changed files with 1 additions and 2 deletions

View File

@ -287,9 +287,8 @@ void setup_guard(guard_fixture *fix, bool armed) {
if (armed) { if (armed) {
item_type *itype; item_type *itype;
weapon_type *wtype;
itype = it_get_or_create(rt_get_or_create("sword")); itype = it_get_or_create(rt_get_or_create("sword"));
wtype = new_weapontype(itype, 0, 0.0, NULL, 0, 0, 0, SK_MELEE, 2); new_weapontype(itype, 0, 0.0, NULL, 0, 0, 0, SK_MELEE, 2);
i_change(&u->items, itype, 1); i_change(&u->items, itype, 1);
set_level(u, SK_MELEE, 2); set_level(u, SK_MELEE, 2);
} }