mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 12:49:08 +00:00
Enable -Wimplicit-fallthrough.
This commit is contained in:
@@ -417,14 +417,14 @@ void VirtualConsole::on_char(byte ch)
|
||||
return;
|
||||
}
|
||||
m_escape_state = ExpectIntermediate;
|
||||
// fall through
|
||||
[[fallthrough]];
|
||||
case ExpectIntermediate:
|
||||
if (is_valid_intermediate_character(ch)) {
|
||||
m_intermediates.append(ch);
|
||||
return;
|
||||
}
|
||||
m_escape_state = ExpectFinal;
|
||||
// fall through
|
||||
[[fallthrough]];
|
||||
case ExpectFinal:
|
||||
if (is_valid_final_character(ch)) {
|
||||
m_escape_state = Normal;
|
||||
|
||||
Reference in New Issue
Block a user