diff --git a/file_extract.c b/file_extract.c index e823f83518..e010b6057b 100644 --- a/file_extract.c +++ b/file_extract.c @@ -171,6 +171,9 @@ bool zlib_extract_first_rom(char *zip_path, size_t zip_path_size, const char *va strlcpy(zip_path, new_path, zip_path_size); goto end; } + else + GOTO_END_ERROR(); + default: GOTO_END_ERROR(); }