[PATCH] ntdll: Avoid dead initialization (scan-build)

Alex Henrie alexhenrie24 at gmail.com
Mon Sep 16 00:39:43 CDT 2019


Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 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 106fea80a3..d5f2f70273 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)
-- 
2.23.0




More information about the wine-devel mailing list