From 782f6fa21309b017c82b0516fe2ecfb84becc48b Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Sat, 18 Feb 2023 17:24:35 +0100 Subject: [PATCH] decode_value: Work around a compiler warning --- src/encode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/encode.c b/src/encode.c index 5861d55267..f47c7a05d8 100644 --- a/src/encode.c +++ b/src/encode.c @@ -4421,13 +4421,12 @@ static void decode_value2(struct decode_data *data) }); if (func.offset != -1) { #ifdef ENCODE_DEBUG - int old_a_flag; + int old_a_flag = a_flag; #endif EDB(2, { fprintf(stderr, "%*sDecoding portable bytecode.\n", data->depth, ""); - old_a_flag = a_flag; a_flag = (a_flag > (data->debug-1))?a_flag:(data->debug-1); }); func.offset = decode_portable_bytecode(data, func.offset);