Closed Bug 413217 Opened 17 years ago Closed 17 years ago

Need an NS_ENSURE_SUCCESS that doesn't warn

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: Waldo, Assigned: Waldo)

References

Details

Attachments

(1 file)

Attached patch PatchSplinter 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 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-
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
Blocks: fx-noise
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: