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;