Remove two unused variables in nsNSSCertificateDB.cpp, no bug

This commit is contained in:
Ehsan Akhgari 2013-06-23 20:24:03 -04:00
parent 69f446c035
commit 46812c04e4

View File

@ -486,7 +486,6 @@ ImportCertsIntoPermanentStorage(const ScopedCERTCertList &certChain, const SECCe
const PRBool caOnly)
{
CERTCertDBHandle *certdb = CERT_GetDefaultCertDB();
const PRTime now = PR_Now();
int chainLen = 0;
for (CERTCertListNode *chainNode = CERT_LIST_HEAD(certChain);
@ -745,7 +744,6 @@ nsNSSCertificateDB::ImportValidCACerts(int numCACerts, SECItem *CACerts, nsIInte
nsresult
nsNSSCertificateDB::ImportValidCACertsInList(CERTCertList *certList, nsIInterfaceRequestor *ctx)
{
SECItem **rawArray;
RefPtr<CertVerifier> certVerifier(GetDefaultCertVerifier());
if (!certVerifier)
return NS_ERROR_UNEXPECTED;