[PATCH] msi: Remove redundant comparison.

Andrey Gusev andrey.goosev at gmail.com
Tue Jan 9 05:24:43 CST 2018


Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
 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 bb492f464f..693da18355 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++;
-- 
2.13.6




More information about the wine-devel mailing list