Closed Bug 1159124 Opened 9 years ago Closed 9 years ago

widget/cocoa/nsClipboard.mm:59:26: warning: unused exception parameter 'e' [-Wunused-exception-parameter]

Categories

(Core :: Widget: Cocoa, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: cpeterson, Assigned: cpeterson)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Suppress -Wunused-exception-parameter warning in nsClipboard.mm. NS_WARNING() is a nop in release builds, so the NSException variable `e` is unused. This is the only -Wunused-exception-parameter warning in mozilla-central.

I also removed some trailing whitespace in this file.
Attachment #8598428 - Flags: review?(spohl.mozilla.bugs)
Attachment #8598428 - Flags: review?(spohl.mozilla.bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/1fe6e588713d
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in before you can comment on or make changes to this bug.