From 6062065723c0d1f964ed1569a17cbe8fba01d9f4 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Wed, 6 Apr 2022 11:05:01 +0200 Subject: [PATCH] win32u: Add missing return in NtUserExitingThread implementation. Signed-off-by: Jacek Caban Signed-off-by: Huw Davies Signed-off-by: Alexandre Julliard --- dlls/win32u/sysparams.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/win32u/sysparams.c b/dlls/win32u/sysparams.c index 2d63158935d..b4e1a699451 100644 --- a/dlls/win32u/sysparams.c +++ b/dlls/win32u/sysparams.c @@ -4643,6 +4643,7 @@ ULONG_PTR WINAPI NtUserCallNoParam( ULONG code ) /* temporary exports */ case NtUserExitingThread: exiting_thread_id = GetCurrentThreadId(); + return 0; case NtUserThreadDetach: thread_detach(); return 0;