Closed Bug 1437599 Opened 2 years ago Closed 2 years ago
Build warning: ns
Frame .cpp:1903:10: warning: 'return' will never be executed [-Wunreachable-code-return]
59 bytes, text/x-review-board-request
I noticed this build warning locally (with a clang trunk build, version 7.0): > layout/generic/nsFrame.cpp:1903:10: warning: 'return' will never > be executed [-Wunreachable-code-return] This is for a "return" after a switch statement that covers all possibilities (including a "default" case), whose case statements all say "return": https://hg.mozilla.org/mozilla-central/rev/124fbb4b9a97#l3.9 Marking as having been introduced by bug 1336905, since that's where we added the "default" case that made the after-the-switch return statement unreachable.
Comment on attachment 8950283 [details] Bug 1437599: Remove unreachable 'return' statement from nsIFrame::GetShapeBoxBorderRadii. https://reviewboard.mozilla.org/r/219546/#review225300
Attachment #8950283 - Flags: review?(bwerth) → review+
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/a8e1fa44ff64 Remove unreachable 'return' statement from nsIFrame::GetShapeBoxBorderRadii. r=bradwerth
You need to log in before you can comment on or make changes to this bug.