mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bugzilla Bug 337025: removed more unused or trivially used variables.
r=alexei.volkov,nelson.bolyard.
This commit is contained in:
parent
8219c5d9d7
commit
844f45261e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user