commented out json_file reading error return

valgrind had some beef with it
This commit is contained in:
Václav Šmejkal 2023-04-12 10:33:07 +02:00
parent a4da24c4b5
commit 2c8d81ed64
Signed by: ENGO150
GPG Key ID: F6D6DF86242C5A59

View File

@ -151,8 +151,9 @@ enum WHY2_EXIT_CODES why2_check_version(void)
{
if (!why2_get_flags().no_output) fprintf(stderr, "Reading file failed!\n");
why2_clean_memory("core_version_check");
return WHY2_DOWNLOAD_FAILED;
// BELOW CODE IS COMMENTED OUT, BECAUSE IT IS PROBABLY UNNECESSARY
// why2_clean_memory("core_version_check");
// return WHY2_DOWNLOAD_FAILED;
}
buffer[bufferSize] = '\0';