From 6ea282c7e1abd7ab09a5f0a18a437e63f909da96 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Sun, 15 Sep 2019 23:39:43 -0600 Subject: [PATCH] ntdll: Avoid dead initialization (scan-build). Signed-off-by: Alex Henrie Signed-off-by: Alexandre Julliard --- dlls/ntdll/actctx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntdll/actctx.c b/dlls/ntdll/actctx.c index 106fea80a3f..d5f2f70273b 100644 --- a/dlls/ntdll/actctx.c +++ b/dlls/ntdll/actctx.c @@ -5569,7 +5569,7 @@ NTSTATUS WINAPI RtlQueryActivationContextApplicationSettings( DWORD flags, HANDL const WCHAR *settings, WCHAR *buffer, SIZE_T size, SIZE_T *written ) { - ACTIVATION_CONTEXT *actctx = check_actctx( handle ); + ACTIVATION_CONTEXT *actctx; const WCHAR *res; if (flags)