Remove the unreachable code after the switch in APZBridge::ReceiveInputEvent
Categories
(Core :: Panning and Zooming, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr153 | --- | unaffected |
| firefox158 | --- | unaffected |
| firefox159 | --- | wontfix |
| firefox160 | --- | fixed |
People
(Reporter: Sylvestre, Assigned: Sylvestre)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(1 external file)
Coverity CID 1702966 (Structurally dead code).
In APZBridge::ReceiveInputEvent(WidgetInputEvent&, ...), every case of the switch on aEvent.mClass returns, including default, so the trailing MOZ_ASSERT_UNREACHABLE / SetStatusAsConsumeNoDefault / return can never run. The code is old; the CID is new because bug 2070702 renamed the file.
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Updated•11 days ago
|
| Assignee | ||
Comment 1•11 days ago
|
||
Every case of the switch on the event class returns, including the
default one, so the code after it can never run.
Updated•11 days ago
|
Comment 2•11 days ago
|
||
Set release status flags based on info from the regressing bug 2070702
Updated•10 days ago
|
Comment 3•4 days ago
|
||
The severity field is not set for this bug.
:botond, could you have a look please?
For more information, please visit BugBot documentation.
Updated•4 days ago
|
Comment 5•3 days ago
|
||
The severity field is not set for this bug.
:botond, could you have a look please?
For more information, please visit BugBot documentation.
Updated•3 days ago
|
Comment 6•3 days ago
|
||
| bugherder | ||
Description
•