Andrew Talbot : advpack: Remove a useless test.

Alexandre Julliard julliard at winehq.org
Mon Jul 21 08:50:56 CDT 2008


Module: wine
Branch: master
Commit: c230736bbe1c9a71784ac3e7c48e124bce124bec
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c230736bbe1c9a71784ac3e7c48e124bce124bec

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat Jul 19 10:08:00 2008 +0100

advpack: Remove a useless test.

---

 dlls/advpack/files.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/advpack/files.c b/dlls/advpack/files.c
index 5e9ce30..3aabc08 100644
--- a/dlls/advpack/files.c
+++ b/dlls/advpack/files.c
@@ -709,7 +709,7 @@ HRESULT WINAPI ExtractFilesA(LPCSTR CabName, LPCSTR ExpandDir, DWORD Flags,
     if (FileList)
     {
         szConvertedList = convert_file_list(FileList, &dwFileCount);
-        if (!szConvertedList || dwFileCount == -1)
+        if (!szConvertedList)
         {
             res = E_FAIL;
             goto done;




More information about the wine-cvs mailing list