Andrey Gusev : msi: Remove redundant comparison.

Alexandre Julliard julliard at winehq.org
Tue Jan 9 15:49:37 CST 2018


Module: wine
Branch: master
Commit: 435be368e58ffdc033b4ca132f3ca73436881421
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=435be368e58ffdc033b4ca132f3ca73436881421

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Tue Jan  9 13:24:43 2018 +0200

msi: Remove redundant comparison.

Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msi/appsearch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c
index bb492f4..693da18 100644
--- a/dlls/msi/appsearch.c
+++ b/dlls/msi/appsearch.c
@@ -506,7 +506,7 @@ static LPWSTR get_ini_field(LPWSTR buf, int field)
     while ((end = strchrW(beg, ',')) && i < field)
     {
         beg = end + 1;
-        while (*beg && *beg == ' ')
+        while (*beg == ' ')
             beg++;
 
         i++;




More information about the wine-cvs mailing list