diff options
author | Nico Weber <thakis@chromium.org> | 2021-10-08 08:34:12 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-08 23:33:46 +0200 |
commit | b8dc3661ac7573351c42275068abbe6bc2d4e6aa (patch) | |
tree | d129305c23e18dfd9b627c93a568ca2b2f205d41 /Userland/Libraries/LibCore/IODevice.cpp | |
parent | 96666f3209a27b5d6abd0653a8d6d0ceb47e3e92 (diff) | |
download | serenity-b8dc3661ac7573351c42275068abbe6bc2d4e6aa.zip |
Libraries: Fix -Wunreachable-code warnings from clang
Diffstat (limited to 'Userland/Libraries/LibCore/IODevice.cpp')
-rw-r--r-- | Userland/Libraries/LibCore/IODevice.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Userland/Libraries/LibCore/IODevice.cpp b/Userland/Libraries/LibCore/IODevice.cpp index 21bb4f3dfd..6cb4c35975 100644 --- a/Userland/Libraries/LibCore/IODevice.cpp +++ b/Userland/Libraries/LibCore/IODevice.cpp @@ -111,8 +111,6 @@ bool IODevice::can_read_line() const if (m_buffered_data.contains_in_range('\n', previous_buffer_size, new_buffer_size - 1)) return true; } - - return true; } bool IODevice::can_read() const |