Bugzilla Bug 337025: removed more unused or trivially used variables.

r=alexei.volkov,nelson.bolyard.
This commit is contained in:
wtchang%redhat.com 2006-05-16 01:57:04 +00:00
parent 8219c5d9d7
commit 844f45261e

View File

@ -815,18 +815,10 @@ certdb_SaveSingleProfile(CERTCertificate *cert, const char *emailAddr,
emailProfile->data);
} else if (profileTime && emailProfile) {
PRStatus nssrv;
NSSDER subject;
NSSItem profTime, profData;
NSSItem *pprofTime, *pprofData;
NSSITEM_FROM_SECITEM(&subject, &cert->derSubject);
NSSITEM_FROM_SECITEM(&profTime, profileTime);
pprofTime = &profTime;
NSSITEM_FROM_SECITEM(&profData, emailProfile);
pprofData = &profData;
stanProfile = nssSMIMEProfile_Create(c, pprofTime, pprofData);
stanProfile = nssSMIMEProfile_Create(c, &profTime, &profData);
if (!stanProfile) goto loser;
nssrv = nssCryptoContext_ImportSMIMEProfile(cc, stanProfile);
rv = (nssrv == PR_SUCCESS) ? SECSuccess : SECFailure;