diff options
author | Tim Taubert <tim@timtaubert.de> | 2015-09-29 09:40:40 -0700 |
---|---|---|
committer | Tim Taubert <tim@timtaubert.de> | 2015-09-29 09:40:40 -0700 |
commit | cf86cffa90acdc861d3115fa3c9f2dd4a8736543 (patch) | |
tree | 2a92c6b28afee40ab1c4eb0aadaf96ad2ca69ebd /lib/certhigh | |
parent | 61414600179231ebd8295804ea719fd1a88e9fa4 (diff) | |
download | nss-hg-cf86cffa90acdc861d3115fa3c9f2dd4a8736543.tar.gz |
Bug 1208503 - Variable assigned once to a constant guards dead code in cert_pkixSetParam, r=mt
Diffstat (limited to 'lib/certhigh')
-rw-r--r-- | lib/certhigh/certvfypkix.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/certhigh/certvfypkix.c b/lib/certhigh/certvfypkix.c index 35f841e58..b89fe215f 100644 --- a/lib/certhigh/certvfypkix.c +++ b/lib/certhigh/certvfypkix.c @@ -1454,7 +1454,6 @@ cert_pkixSetParam(PKIX_ProcessingParams *procParams, CERTCertListNode *node; PKIX_PL_Cert *certPkix = NULL; PKIX_TrustAnchor *trustAnchor = NULL; - PKIX_PL_Date *revDate = NULL; PKIX_RevocationChecker *revChecker = NULL; PKIX_PL_NssContext *nssContext = (PKIX_PL_NssContext *)plContext; @@ -1664,9 +1663,6 @@ cert_pkixSetParam(PKIX_ProcessingParams *procParams, if (date != NULL) PKIX_PL_Object_DecRef((PKIX_PL_Object *)date, plContext); - if (revDate != NULL) - PKIX_PL_Object_DecRef((PKIX_PL_Object *)revDate, plContext); - if (revChecker != NULL) PKIX_PL_Object_DecRef((PKIX_PL_Object *)revChecker, plContext); |