Andrey Gusev : ntdll: Remove redundant comparison.
Module: wine Branch: master Commit: 4895156369d2d90caa70449f98cf72eff2790767 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4895156369d2d90caa70449f98... Author: Andrey Gusev <andrey.goosev(a)gmail.com> Date: Thu Oct 12 16:14:53 2017 +0300 ntdll: Remove redundant comparison. Signed-off-by: Andrey Gusev <andrey.goosev(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)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;
participants (1)
-
Alexandre Julliard