From 429c9ec202ec6f98afcd4ab640cb4118957170ff Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 22 Oct 2022 02:13:56 +0300 Subject: [PATCH 39/39] Remove dead assignment of 'method' from fz_from_file() See osdn #45848 Signed-off-by: Marko Lindqvist --- utility/ioz.c | 1 - 1 file changed, 1 deletion(-) diff --git a/utility/ioz.c b/utility/ioz.c index 998a68ce82..a08e242865 100644 --- a/utility/ioz.c +++ b/utility/ioz.c @@ -258,7 +258,6 @@ fz_FILE *fz_from_file(const char *filename, const char *in_mode, #ifdef FREECIV_HAVE_LIBBZ2 /* Try to open as bzip2 file This is simplest test, so do it first. */ - method = FZ_BZIP2; fp->u.bz2.plain = fc_fopen(filename, test_mode); if (fp->u.bz2.plain) { fp->u.bz2.file = BZ2_bzReadOpen(&fp->u.bz2.error, fp->u.bz2.plain, 1, 0, -- 2.35.1