From 81402039400d9ab349dbcddc06d52c7c908a23ab Mon Sep 17 00:00:00 2001 From: Serge Gautherie <32623169+SergeGautherie@users.noreply.github.com> Date: Thu, 4 Jun 2020 22:35:54 +0200 Subject: [PATCH] [KERNEL32] FatalAppExitW: Add an 'UNREFERENCED_LOCAL_VARIABLE(Status)' (#2883) Addendum to 21d2accad37825f47e3caa78ff36153751652238 (r71793). --- dll/win32/kernel32/client/proc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dll/win32/kernel32/client/proc.c b/dll/win32/kernel32/client/proc.c index b44624c381b..9b680eb5330 100644 --- a/dll/win32/kernel32/client/proc.c +++ b/dll/win32/kernel32/client/proc.c @@ -1609,6 +1609,8 @@ FatalAppExitW(IN UINT uAction, #if DBG /* Give the user a chance to abort */ if ((NT_SUCCESS(Status)) && (Response == ResponseCancel)) return; +#else + UNREFERENCED_LOCAL_VARIABLE(Status); #endif /* Otherwise kill the process */ -- 2.17.1