Closed Bug 756579 Opened 8 years ago Closed 8 years ago
XBLBinding::Get Insertion Points For is now infallible
nsXBLBinding::GetInsertionPointsFor is now infallible (because hashtables are infallible) and we should make it return "void".
Hi, I need some more tips to help.
The return value of the function (http://hg.mozilla.org/mozilla-central/annotate/c20d415ef1b5/content/xbl/src/nsXBLBinding.cpp#l1401) should be 'void' instead of nsresult, and the callers need to be updated to not error-check it.
Comment on attachment 626416 [details] [diff] [review] Patch(v1) Heh, nobody used the return value anyway? awesome ;-)
Attachment #626416 - Flags: review?(benjamin) → review+
Target Milestone: --- → mozilla16
Assignee: nobody → jigneshhk1992
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.