Closed Bug 545273 Opened 12 years ago Closed 11 years ago

Remove unused function SEC_Init

Categories

(NSS :: Libraries, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED
3.12.6

People

(Reporter: wtc, Assigned: wtc)

References

Details

Attachments

(1 file)

Attached patch Proposed patchSplinter Review
The function SEC_Init is unused:
http://mxr.mozilla.org/security/search?string=SEC_Init

The attached patch removes it.
Attachment #426116 - Flags: review?(rrelyea)
Comment on attachment 426116 [details] [diff] [review]
Proposed patch

r+ assuming SEC_Init was never exported.

bob
Attachment #426116 - Flags: review?(rrelyea) → review+
Right, SEC_Init was never exported from nss.def or nssutil.def.

I checked in the patch on the NSS trunk (NSS 3.12.6).

Checking in cmd/lib/secutil.h;
/cvsroot/mozilla/security/nss/cmd/lib/secutil.h,v  <--  secutil.h
new revision: 1.32; previous revision: 1.31
done
Checking in cmd/p7env/p7env.c;
/cvsroot/mozilla/security/nss/cmd/p7env/p7env.c,v  <--  p7env.c
new revision: 1.10; previous revision: 1.9
done
Checking in lib/util/manifest.mn;
/cvsroot/mozilla/security/nss/lib/util/manifest.mn,v  <--  manifest.mn
new revision: 1.22; previous revision: 1.21
done
Removing lib/util/secinit.c;
/cvsroot/mozilla/security/nss/lib/util/secinit.c,v  <--  secinit.c
new revision: delete; previous revision: 1.2
done
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Duplicate of this bug: 399741
You need to log in before you can comment on or make changes to this bug.