Sebastian Lackner : kernel32/tests: Remove unnecessary call to GetExitCodeProcess in process tests.
Module: wine Branch: master Commit: 6cf682d207129771b97a2cd9d7495c64217944da URL: http://source.winehq.org/git/wine.git/?a=commit;h=6cf682d207129771b97a2cd9d7... Author: Sebastian Lackner <sebastian(a)fds-team.de> Date: Mon Dec 21 05:26:09 2015 +0100 kernel32/tests: Remove unnecessary call to GetExitCodeProcess in process tests. Signed-off-by: Sebastian Lackner <sebastian(a)fds-team.de> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/kernel32/tests/process.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/kernel32/tests/process.c b/dlls/kernel32/tests/process.c index 6dc1f5e..f186c94 100644 --- a/dlls/kernel32/tests/process.c +++ b/dlls/kernel32/tests/process.c @@ -2729,7 +2729,6 @@ static void test_StartupNoConsole(void) char buffer[MAX_PATH]; STARTUPINFOA startup; PROCESS_INFORMATION info; - DWORD code; if (!pNtCurrentTeb) { @@ -2746,7 +2745,6 @@ static void test_StartupNoConsole(void) ok(CreateProcessA(NULL, buffer, NULL, NULL, TRUE, DETACHED_PROCESS, NULL, NULL, &startup, &info), "CreateProcess\n"); ok(WaitForSingleObject(info.hProcess, 30000) == WAIT_OBJECT_0, "Child process termination\n"); - ok(GetExitCodeProcess(info.hProcess, &code), "Getting exit code\n"); WritePrivateProfileStringA(NULL, NULL, NULL, resfile); okChildInt("StartupInfoA", "hStdInput", (UINT)INVALID_HANDLE_VALUE); okChildInt("StartupInfoA", "hStdOutput", (UINT)INVALID_HANDLE_VALUE);
participants (1)
-
Alexandre Julliard