Closed Bug 1171361 Opened 4 years ago Closed 4 years ago

browser/components/shell/nsMacShellService.cpp:359:5 [-Wunreachable-code-break] 'break' will never be executed

Categories

(Firefox :: Shell Integration, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
Firefox 41
Tracking Status
firefox41 --- fixed

People

(Reporter: cpeterson, Assigned: cpeterson)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Fix -Wunreachable-code-break warnings in shell/nsMacShellService.cpp. These breaks are redundant because the code returns lf->Launch() just above.

browser/components/shell/nsMacShellService.cpp:359:5 [-Wunreachable-code-break] 'break' will never be executed
browser/components/shell/nsMacShellService.cpp:371:5 [-Wunreachable-code-break] 'break' will never be executed
Attachment #8615179 - Flags: review?(mak77)
Attachment #8615179 - Flags: review?(mak77) → review+
https://hg.mozilla.org/mozilla-central/rev/71fe4f0920dc
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 41
You need to log in before you can comment on or make changes to this bug.