Module: wine Branch: master Commit: ced5cb67ed8a8c02fe9dca2eac4a073d53d9f90f URL: http://source.winehq.org/git/wine.git/?a=commit;h=ced5cb67ed8a8c02fe9dca2eac...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Sep 5 11:32:59 2008 +0200
crypt32: Avoid some uninitialized variable warnings on older gcc.
---
dlls/crypt32/msg.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/crypt32/msg.c b/dlls/crypt32/msg.c index d7dfa07..1c07e05 100644 --- a/dlls/crypt32/msg.c +++ b/dlls/crypt32/msg.c @@ -2073,7 +2073,7 @@ static BOOL CRYPT_CopyKeyIdAsIssuerAndSerial(CERT_NAME_BLOB *issuer, static BOOL CRYPT_CopySignerInfo(void *pvData, DWORD *pcbData, const CMSG_CMS_SIGNER_INFO *in) { - DWORD size = sizeof(CMSG_SIGNER_INFO), rdnSize; + DWORD size = sizeof(CMSG_SIGNER_INFO), rdnSize = 0; BOOL ret;
TRACE("(%p, %d, %p)\n", pvData, pvData ? *pcbData : 0, in); @@ -2219,7 +2219,7 @@ static BOOL CRYPT_CopyCMSSignerInfo(void *pvData, DWORD *pcbData, static BOOL CRYPT_CopySignerCertInfo(void *pvData, DWORD *pcbData, const CMSG_CMS_SIGNER_INFO *in) { - DWORD size = sizeof(CERT_INFO), rdnSize; + DWORD size = sizeof(CERT_INFO), rdnSize = 0; BOOL ret;
TRACE("(%p, %d, %p)\n", pvData, pvData ? *pcbData : 0, in); @@ -2803,7 +2803,7 @@ BOOL WINAPI CryptMsgGetAndVerifySigner(HCRYPTMSG hCryptMsg, DWORD cSignerStore, DWORD *pdwSignerIndex) { HCERTSTORE store; - DWORD i, signerIndex; + DWORD i, signerIndex = 0; PCCERT_CONTEXT signerCert = NULL; BOOL ret = FALSE;