mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-02 06:09:51 +00:00
Libraries: Fix -Wunreachable-code warnings from clang
This commit is contained in:
parent
96666f3209
commit
b8dc3661ac
Notes:
sideshowbarker
2024-07-18 02:54:35 +09:00
Author: https://github.com/nico
Commit: b8dc3661ac
Pull-request: https://github.com/SerenityOS/serenity/pull/10399
10 changed files with 7 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue