From ebc0e5ffb595d92bca7a38a3710e494662298e96 Mon Sep 17 00:00:00 2001 From: Jactry Zeng Date: Wed, 24 Oct 2018 13:30:17 +0800 Subject: [PATCH] kernel32: Don't check a discarded variable. Signed-off-by: Jactry Zeng Signed-off-by: Ken Thomases Signed-off-by: Alexandre Julliard --- dlls/kernel32/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c index 32e751719e6..799519e1ac2 100644 --- a/dlls/kernel32/process.c +++ b/dlls/kernel32/process.c @@ -2146,7 +2146,7 @@ static NTSTATUS exec_loader( const RTL_USER_PROCESS_PARAMETERS *params, int sock wine_exec_wine_binary( loader, argv, getenv("WINELOADER") ); } #ifdef __APPLE__ - while (errno == ENOTSUP && exec_only && terminate_main_thread()); + while (errno == ENOTSUP && terminate_main_thread()); #else while (0); #endif