Closed
Bug 82000
Opened 23 years ago
Closed 23 years ago
nsCategoryManager::DeleteCategoryEntry() has an unused out param
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
mozilla0.9.2
People
(Reporter: jud, Assigned: jud)
References
()
Details
Attachments
(2 files)
854 bytes,
patch
|
Details | Diff | Splinter Review | |
9.94 KB,
patch
|
Details | Diff | Splinter Review |
_retval is never used and it forces callers to pass *something* in which leads to un-necessary stack allocations.
Assignee | ||
Updated•23 years ago
|
Target Milestone: --- → mozilla0.9.2
Assignee | ||
Comment 1•23 years ago
|
||
Assignee | ||
Comment 2•23 years ago
|
||
Assignee | ||
Comment 3•23 years ago
|
||
looking for r/sr.
Comment 4•23 years ago
|
||
changes look good to me. r=chak
Comment 5•23 years ago
|
||
I presume you've checked the Commercial tree as well. If so, sr=vidur.
Assignee | ||
Comment 6•23 years ago
|
||
whoops. I had checked the ns tree (made the following modification to the single callsite), but forgot to post the patch. Index: nsActivation.cpp =================================================================== RCS file: /m/src/ns/profile/src/nsActivation.cpp,v retrieving revision 1.24 diff -r1.24 nsActivation.cpp 908,910c908,909 < nsXPIDLCString prevEntry; < rv = catman->DeleteCategoryEntry(NS_PROFILE_STARTUP_CATEGORY, NS_ACTIVATION_CONTRACTID, PR_TRUE, < getter_Copies(prevEntry)); --- > rv = catman->DeleteCategoryEntry(NS_PROFILE_STARTUP_CATEGORY, NS_ACTIVATION_CONTRACTID, > PR_TRUE);
Assignee | ||
Comment 7•23 years ago
|
||
vidur has sr'd the above patch.
Assignee | ||
Comment 9•23 years ago
|
||
fix is in.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•