kernel32: Don't check a discarded variable.

Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jactry Zeng 2018-10-24 13:30:17 +08:00 committed by Alexandre Julliard
parent 82dbf75dc0
commit ebc0e5ffb5
1 changed files with 1 additions and 1 deletions

View File

@ -2146,7 +2146,7 @@ static NTSTATUS exec_loader( const RTL_USER_PROCESS_PARAMETERS *params, int sock
wine_exec_wine_binary( loader, argv, getenv("WINELOADER") ); wine_exec_wine_binary( loader, argv, getenv("WINELOADER") );
} }
#ifdef __APPLE__ #ifdef __APPLE__
while (errno == ENOTSUP && exec_only && terminate_main_thread()); while (errno == ENOTSUP && terminate_main_thread());
#else #else
while (0); while (0);
#endif #endif