From ccee9c6f75b8b347cbbdec6f07042933f3290bfb Mon Sep 17 00:00:00 2001 From: Steffen Pankratz Date: Fri, 13 Feb 2026 20:40:26 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20compiler=20warning:=20=E2=80=98success?= =?UTF-8?q?=E2=80=99=20may=20be=20used=20uninitialized?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Steffen Pankratz --- src/unshield.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unshield.c b/src/unshield.c index 857c5105..9e0f8099 100644 --- a/src/unshield.c +++ b/src/unshield.c @@ -364,7 +364,7 @@ static bool handle_parameters( static bool extract_file(Unshield* unshield, const char* prefix, int index) { - bool success; + bool success = false; char* dirname; char* filename; char* p; @@ -595,7 +595,7 @@ static int extract_helper(Unshield* unshield, const char* prefix, int first, int static bool test_file(Unshield* unshield, int index) { - bool success; + bool success = false; printf(" testing: %s\n", unshield_file_name(unshield, index));