[CABMAN]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 9 May 2014 20:25:41 +0000 (20:25 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 9 May 2014 20:25:41 +0000 (20:25 +0000)
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

reactos/tools/cabman/dfp.cxx

index b43b0f4..cbb5312 100644 (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;