Closed
Bug 413217
Opened 17 years ago
Closed 17 years ago
Need an NS_ENSURE_SUCCESS that doesn't warn
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: Waldo, Assigned: Waldo)
References
Details
Attachments
(1 file)
4.76 KB,
patch
|
benjamin
:
review-
|
Details | Diff | Splinter Review |
It sometimes amazes me how long trivial problems are left unfixed.
I personally prefer the clarity of specifying returned errors inline, but it's existing style not to do so. I erred on the side of over-providing no-warn variants, so feel free to say something if you don't think they're all needed.
Attachment #298104 -
Flags: review?(benjamin)
Comment 1•17 years ago
|
||
Comment on attachment 298104 [details] [diff] [review]
Patch
I don't want to do this... I prefer the explicit if() return pair if we don't want the warning, because it makes it easier to scan code and see exit points.
Attachment #298104 -
Flags: review?(benjamin) → review-
Updated•17 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•