From 862ad14e78032387f4e799e6687445af2a9714bf Mon Sep 17 00:00:00 2001 From: "nelsonb%netscape.com" Date: Fri, 24 Dec 2004 07:13:35 +0000 Subject: [PATCH] Initialize 4 variables. Plug UMR reports. Bug 263691. r=wtchang git-svn-id: svn://10.0.0.236/trunk@167012 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/security/nss/lib/dev/ckhelper.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mozilla/security/nss/lib/dev/ckhelper.c b/mozilla/security/nss/lib/dev/ckhelper.c index dff23f06c1a..c0ad6c55959 100644 --- a/mozilla/security/nss/lib/dev/ckhelper.c +++ b/mozilla/security/nss/lib/dev/ckhelper.c @@ -35,7 +35,7 @@ * ***** END LICENSE BLOCK ***** */ #ifdef DEBUG -static const char CVS_ID[] = "@(#) $RCSfile: ckhelper.c,v $ $Revision: 1.31 $ $Date: 2004-05-17 20:08:37 $ $Name: not supported by cvs2svn $"; +static const char CVS_ID[] = "@(#) $RCSfile: ckhelper.c,v $ $Revision: 1.32 $ $Date: 2004-12-24 07:13:35 $ $Name: not supported by cvs2svn $"; #endif /* DEBUG */ #ifndef NSSCKEPV_H @@ -551,7 +551,10 @@ nssCryptokiTrust_GetAttributes ( NSSSlot *slot; nssSession *session; CK_BBOOL isToken, stepUp; - CK_TRUST saTrust, caTrust, epTrust, csTrust; + CK_TRUST saTrust = CKT_NETSCAPE_TRUST_UNKNOWN; + CK_TRUST caTrust = CKT_NETSCAPE_TRUST_UNKNOWN; + CK_TRUST epTrust = CKT_NETSCAPE_TRUST_UNKNOWN; + CK_TRUST csTrust = CKT_NETSCAPE_TRUST_UNKNOWN; CK_ATTRIBUTE_PTR attr; CK_ATTRIBUTE trust_template[7]; CK_ULONG trust_size;