In any case, we are returning the (!= success) status in case we failed to perform the file copy, so just test for != success just one time.
Patch by Victor Martinez.
CORE-8189 #resolve

svn path=/trunk/; revision=63206
This commit is contained in:
Hermès Bélusca-Maïto 2014-05-09 20:25:41 +00:00
parent c86f110ca5
commit 7090d796f6

View file

@ -361,10 +361,8 @@ ULONG CDFParser::Parse()
{
printf("ERROR: Directive file contains errors at line %u.\n", (UINT)CurrentLine);
DPRINT(MID_TRACE, ("Error while copying file.\n"));
}
if (Status != CAB_STATUS_SUCCESS)
return Status;
}
}
break;