Module: wine Branch: master Commit: e235bfcca7ea5c830c9e514725e54787de5f1a2d URL: http://source.winehq.org/git/wine.git/?a=commit;h=e235bfcca7ea5c830c9e514725...
Author: Marcus Meissner marcus@jet.franken.de Date: Tue Dec 22 09:26:49 2009 +0100
cryptnet: Remove an unnecessary variable (Coverity).
---
dlls/cryptnet/cryptnet_main.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/dlls/cryptnet/cryptnet_main.c b/dlls/cryptnet/cryptnet_main.c index d4d0e2c..2306941 100644 --- a/dlls/cryptnet/cryptnet_main.c +++ b/dlls/cryptnet/cryptnet_main.c @@ -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; }