summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI
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/LibGUI
parent96666f3209a27b5d6abd0653a8d6d0ceb47e3e92 (diff)
downloadserenity-b8dc3661ac7573351c42275068abbe6bc2d4e6aa.zip
Libraries: Fix -Wunreachable-code warnings from clang
Diffstat (limited to 'Userland/Libraries/LibGUI')
-rw-r--r--Userland/Libraries/LibGUI/TextDocument.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Libraries/LibGUI/TextDocument.cpp b/Userland/Libraries/LibGUI/TextDocument.cpp
index db5f0d4231..c5fd0d79e9 100644
--- a/Userland/Libraries/LibGUI/TextDocument.cpp
+++ b/Userland/Libraries/LibGUI/TextDocument.cpp
@@ -865,8 +865,6 @@ bool RemoveTextCommand::merge_with(GUI::Command const& other)
m_text = builder.to_string();
m_range.set_start(typed_other.m_range.start());
return true;
-
- return false;
}
void RemoveTextCommand::redo()