summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrrelyea%redhat.com <devnull@localhost>2008-03-12 00:01:07 +0000
committerrrelyea%redhat.com <devnull@localhost>2008-03-12 00:01:07 +0000
commit91e9c3e7d412dfb0bf91f743eddcf31fd9c36c8b (patch)
tree62fb176082ca78c93e4fcbf60ba422c23d54b3e1
parentf7afccdea4d2e56913e927f5dda07bdf044f2016 (diff)
downloadnss-hg-91e9c3e7d412dfb0bf91f743eddcf31fd9c36c8b.tar.gz
Bug 421978 valgrind uninitialized variables. Patch by dbaron
r rrelyea
-rw-r--r--security/nss/lib/softoken/pkcs11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/softoken/pkcs11.c b/security/nss/lib/softoken/pkcs11.c
index 2a3fcbdbc..a8af7b315 100644
--- a/security/nss/lib/softoken/pkcs11.c
+++ b/security/nss/lib/softoken/pkcs11.c
@@ -2809,7 +2809,7 @@ CK_RV NSC_GetTokenInfo(CK_SLOT_ID slotID,CK_TOKEN_INFO_PTR pInfo)
#ifdef SHDB_FIXME
pInfo->hardwareVersion.major = CERT_DB_FILE_VERSION;
pInfo->hardwareVersion.minor = handle->version;
-else
+#else
pInfo->hardwareVersion.major = 0;
pInfo->hardwareVersion.minor = 0;
#endif