summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibLine
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2021-10-08 08:34:12 -0400
committerAndreas Kling <kling@serenityos.org>2021-10-08 23:33:46 +0200
commitb8dc3661ac7573351c42275068abbe6bc2d4e6aa (patch)
treed129305c23e18dfd9b627c93a568ca2b2f205d41 /Userland/Libraries/LibLine
parent96666f3209a27b5d6abd0653a8d6d0ceb47e3e92 (diff)
downloadserenity-b8dc3661ac7573351c42275068abbe6bc2d4e6aa.zip
Libraries: Fix -Wunreachable-code warnings from clang
Diffstat (limited to 'Userland/Libraries/LibLine')
-rw-r--r--Userland/Libraries/LibLine/Editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibLine/Editor.cpp b/Userland/Libraries/LibLine/Editor.cpp
index cf12d021c4..c55c70e08e 100644
--- a/Userland/Libraries/LibLine/Editor.cpp
+++ b/Userland/Libraries/LibLine/Editor.cpp
@@ -986,7 +986,7 @@ void Editor::handle_read_event()
dbgln("LibLine: Unhandled final: {:02x} ({:c})", code_point, code_point);
continue;
}
- break;
+ VERIFY_NOT_REACHED();
}
case InputState::Verbatim:
m_state = InputState::Free;