unused variable

This commit is contained in:
Enno Rehling 2017-04-02 15:50:29 +02:00
parent 7c680481de
commit 50eb35edf6
4 changed files with 3 additions and 5 deletions

2
cJSON

@ -1 +1 @@
Subproject commit 22a4fc9be31f0426e622f5bc9ebd7a1550845001 Subproject commit 43c04ad61258ec3d54a2167eb3a43915bd003ab1

@ -1 +1 @@
Subproject commit 22741d9ce9d19bf7b5f5a219b6ed0925259a4d1b Subproject commit ecf956b9808c28c2db52e6b73930f57876dbb258

View File

@ -865,7 +865,6 @@ static struct message * get_modifiers(unit *u, skill_t sk, const resource_type *
static void manufacture(unit * u, const item_type * itype, int want) static void manufacture(unit * u, const item_type * itype, int want)
{ {
int n; int n;
int skill;
int minskill = itype->construction->minskill; int minskill = itype->construction->minskill;
skill_t sk = itype->construction->skill; skill_t sk = itype->construction->skill;
message *msg; message *msg;
@ -877,7 +876,6 @@ static void manufacture(unit * u, const item_type * itype, int want)
return; return;
} }
skill = effskill(u, sk, 0);
if (want == 0) { if (want == 0) {
want = maxbuild(u, itype->construction); want = maxbuild(u, itype->construction);
} }

@ -1 +1 @@
Subproject commit d807ef5ce64b3425b31fb440e0b93a4d233f517a Subproject commit 2117191d4ad75e1eb14809878bc71d15b20a5d86