cryptnet: Remove an unnecessary variable (Coverity).

This commit is contained in:
Marcus Meissner 2009-12-22 09:26:49 +01:00 committed by Alexandre Julliard
parent 406b6e36d8
commit e235bfcca7
1 changed files with 2 additions and 4 deletions

View File

@ -1798,7 +1798,6 @@ BOOL WINAPI CertDllVerifyRevocation(DWORD dwEncodingType, DWORD dwRevType,
PCERT_REVOCATION_PARA pRevPara, PCERT_REVOCATION_STATUS pRevStatus)
{
DWORD error = 0, i;
BOOL ret;
FILETIME now;
LPFILETIME pTime = NULL;
@ -1837,8 +1836,7 @@ BOOL WINAPI CertDllVerifyRevocation(DWORD dwEncodingType, DWORD dwRevType,
{
SetLastError(error);
pRevStatus->dwError = error;
ret = FALSE;
}
TRACE("returning %d (%08x)\n", ret, error);
return ret;
TRACE("returning %d (%08x)\n", !error, error);
return !error;
}