Andrey Gusev : ntdll: Remove redundant comparison.

Alexandre Julliard julliard at winehq.org
Thu Oct 12 13:47:51 CDT 2017


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

Author: Andrey Gusev <andrey.goosev at gmail.com>
Date:   Thu Oct 12 16:14:53 2017 +0300

ntdll: Remove redundant comparison.

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

---

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

diff --git a/dlls/ntdll/loadorder.c b/dlls/ntdll/loadorder.c
index 401d256..157d2cb 100644
--- a/dlls/ntdll/loadorder.c
+++ b/dlls/ntdll/loadorder.c
@@ -253,7 +253,7 @@ static void init_load_order(void)
     entry = strW.Buffer;
     while (*entry)
     {
-        while (*entry && *entry == ';') entry++;
+        while (*entry == ';') entry++;
         if (!*entry) break;
         next = strchrW( entry, ';' );
         if (next) *next++ = 0;




More information about the wine-cvs mailing list