From 03c33e3c454feabd24e7bb8f7c6a1c1e6a644471 Mon Sep 17 00:00:00 2001 From: Pompolic <pompolic@special-circumstanc.es> Date: Fri, 6 Mar 2020 15:52:18 +0100 Subject: [PATCH] Remove unused variable to make the compiler happy --- lzw-lib.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lzw-lib.c b/lzw-lib.c index 004cd6c..38ecd30 100644 --- a/lzw-lib.c +++ b/lzw-lib.c @@ -234,7 +234,6 @@ int lzw_decompress (void (*dst)(int), int (*src)(void)) while (1) { int code_bits = next < 512 ? 9 : (next < 1024 ? 10 : (next < 2048 ? 11 : 12) ), code; - int extras = (1 << (code_bits + 1)) - next - 1; #define TOP_BITMASK (((1 << code_bits) - 1) << (bits - code_bits) ) #define BOTTOM_BITMASK ((1 << (bits - code_bits)) - 1) -- GitLab