unused variable

This commit is contained in:
Enno Rehling 2017-08-18 19:48:34 +02:00
parent c8b2ce7900
commit 7a4a49160c
1 changed files with 1 additions and 3 deletions

View File

@ -89,7 +89,6 @@ static int
use_speedsail(struct unit *u, const struct item_type *itype, int amount,
struct order *ord)
{
curse *c;
double effect;
ship *sh = u->ship;
if (!sh) {
@ -98,8 +97,7 @@ struct order *ord)
}
effect = SPEEDSAIL_EFFECT;
c = create_curse(u, &sh->attribs, &ct_shipspeedup, 20, INT_MAX,
effect, 0);
create_curse(u, &sh->attribs, &ct_shipspeedup, 20, INT_MAX, effect, 0);
ADDMSG(&u->faction->msgs, msg_message("use_speedsail", "unit speed", u,
SPEEDSAIL_EFFECT));