Closed Bug 636265 Opened 9 years ago Closed 9 years ago

Don't pass unused return value in nsJSConfigTriggers.cpp

Categories

(Core :: Preferences: Backend, defect)

defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: mwu, Assigned: mwu)

Details

Attachments

(1 file)

Saves a line of code and lets spidermonkey generate slightly better code.
Attachment #514613 - Flags: review?(benjamin)
Comment on attachment 514613 [details] [diff] [review]
Don't pass unused return value in nsJSConfigTriggers.cpp

I am not a JSAPI guru.
Attachment #514613 - Flags: review?(benjamin) → review?(jorendorff)
Comment on attachment 514613 [details] [diff] [review]
Don't pass unused return value in nsJSConfigTriggers.cpp

Actually, I didn't know about this JSAPI quirk either. It's undocumented. But this is correct (and kind of neat).
Attachment #514613 - Flags: review?(jorendorff) → review+
http://hg.mozilla.org/mozilla-central/rev/ebbf744e88bb
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.