From 50eb35edf6f67d635a06d8775fa49ac9fc6dd23f Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sun, 2 Apr 2017 15:50:29 +0200 Subject: [PATCH] unused variable --- cJSON | 2 +- iniparser | 2 +- src/economy.c | 2 -- storage | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/cJSON b/cJSON index 22a4fc9be..43c04ad61 160000 --- a/cJSON +++ b/cJSON @@ -1 +1 @@ -Subproject commit 22a4fc9be31f0426e622f5bc9ebd7a1550845001 +Subproject commit 43c04ad61258ec3d54a2167eb3a43915bd003ab1 diff --git a/iniparser b/iniparser index 22741d9ce..ecf956b98 160000 --- a/iniparser +++ b/iniparser @@ -1 +1 @@ -Subproject commit 22741d9ce9d19bf7b5f5a219b6ed0925259a4d1b +Subproject commit ecf956b9808c28c2db52e6b73930f57876dbb258 diff --git a/src/economy.c b/src/economy.c index 69efe85cb..1ef9ca8c2 100644 --- a/src/economy.c +++ b/src/economy.c @@ -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) { int n; - int skill; int minskill = itype->construction->minskill; skill_t sk = itype->construction->skill; message *msg; @@ -877,7 +876,6 @@ static void manufacture(unit * u, const item_type * itype, int want) return; } - skill = effskill(u, sk, 0); if (want == 0) { want = maxbuild(u, itype->construction); } diff --git a/storage b/storage index d807ef5ce..2117191d4 160000 --- a/storage +++ b/storage @@ -1 +1 @@ -Subproject commit d807ef5ce64b3425b31fb440e0b93a4d233f517a +Subproject commit 2117191d4ad75e1eb14809878bc71d15b20a5d86