[USETUP] CabinetExtractFile(): Do not overwrite Status value (#7456)

Addendum to 5d4d912 (r15403).
This commit is contained in:
Serge Gautherie 2024-10-16 12:20:41 +02:00 committed by GitHub
parent 52192f19d6
commit 54433319af
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1260,6 +1260,7 @@ CabinetExtractFile(
DPRINT("Cannot uncompress block\n");
if (Status == CS_NOMEMORY)
Status = CAB_STATUS_NOMEMORY;
else
Status = CAB_STATUS_INVALID_CAB;
goto UnmapDestFile;
}