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));