[PATCH] secur32: removed superflous NULL check (Coverity)
Marcus Meissner
marcus at jet.franken.de
Tue Jul 22 02:02:32 CDT 2014
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
More information about the wine-patches
mailing list