Closed Bug 240478 Opened 21 years ago Closed 19 years ago

nsICategoryEntry::addCategoryEntry never assigns a return value

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 312000

People

(Reporter: darin.moz, Assigned: dougt)

Details

nsICategoryEntry::addCategoryEntry never assigns a return value. the documentation for addCategoryEntry says that the function returns the string value of the old category entry if addCategoryEntry replaces an existing value. however, an inspection of the code shows that _retval is never assigned a value. the problem appears to be in CategoryNode::AddLeaf
This was fixed by the patch from bug 312000.
QA Contact: xpcom
*** This bug has been marked as a duplicate of 312000 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.