https://git.reactos.org/?p=reactos.git;a=commitdiff;h=81402039400d9ab349dbcddc06d52c7c908a23ab
commit 81402039400d9ab349dbcddc06d52c7c908a23ab Author: Serge Gautherie <[email protected]> AuthorDate: Thu Jun 4 22:35:54 2020 +0200 Commit: GitHub <[email protected]> CommitDate: Thu Jun 4 23:35:54 2020 +0300 [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 */
