From b7e8b1e93907e1eeba9dc448406ff226c95bea2a Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 21 Sep 2022 19:56:58 +0300 Subject: [PATCH 40/40] Fix dead assignment of 'i' in saving multipliers order See osdn #45679 Signed-off-by: Marko Lindqvist --- server/savegame/savegame3.c | 1 - 1 file changed, 1 deletion(-) diff --git a/server/savegame/savegame3.c b/server/savegame/savegame3.c index f98d6f8647..86fca2dbe7 100644 --- a/server/savegame/savegame3.c +++ b/server/savegame/savegame3.c @@ -1830,7 +1830,6 @@ static void sg_save_savefile(struct savedata *saving) if (multiplier_count() > 0) { const char **modname; - i = 0; modname = fc_calloc(multiplier_count(), sizeof(*modname)); multipliers_iterate(pmul) { -- 2.35.1