From 982e7f96b182363826e18e45a3148b79521c64f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delanoy?= Date: Sun, 3 Jul 2011 20:28:28 +0200 Subject: [PATCH] secur32: Remove dead code (Clang). --- dlls/secur32/ntlm.c | 1 - dlls/secur32/wrapper.c | 1 - 2 files changed, 2 deletions(-) diff --git a/dlls/secur32/ntlm.c b/dlls/secur32/ntlm.c index 7317e91d7e9..c842a1288aa 100644 --- a/dlls/secur32/ntlm.c +++ b/dlls/secur32/ntlm.c @@ -1255,7 +1255,6 @@ static SECURITY_STATUS SEC_ENTRY ntlm_AcceptSecurityContext( } } pOutput->pBuffers[0].cbBuffer = 0; - ret = SEC_E_OK; TRACE("Getting negotiated flags\n"); lstrcpynA(buffer, "GF", max_len - 1); diff --git a/dlls/secur32/wrapper.c b/dlls/secur32/wrapper.c index 590a7da9917..dabd90f3ac0 100644 --- a/dlls/secur32/wrapper.c +++ b/dlls/secur32/wrapper.c @@ -793,7 +793,6 @@ SECURITY_STATUS WINAPI QuerySecurityPackageInfoW(SEC_WCHAR *pszPackageName, { (*ppPackageInfo)->Comment = nextString; lstrcpynW(nextString, package->infoW.Comment, commentLen); - nextString += commentLen; } else (*ppPackageInfo)->Comment = NULL;