From: Marcus Meissner Subject: [PATCH] secur32: removed superflous NULL check (Coverity) Message-Id: <1406012552-17590-1-git-send-email-marcus@jet.franken.de> Date: Tue, 22 Jul 2014 09:02:32 +0200 We are in the !phContext else branch already. 1225836 Logically dead code --- dlls/secur32/ntlm.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dlls/secur32/ntlm.c b/dlls/secur32/ntlm.c index 5914fbc..0fe64ed 100644 --- a/dlls/secur32/ntlm.c +++ b/dlls/secur32/ntlm.c @@ -1171,12 +1171,6 @@ SECURITY_STATUS SEC_ENTRY ntlm_AcceptSecurityContext( goto asc_end; } - if(!phContext) - { - ret = SEC_E_INVALID_HANDLE; - goto asc_end; - } - helper = (PNegoHelper)phContext->dwLower; if(helper->mode != NTLM_SERVER) -- 1.8.4.5