1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:17:35 +00:00

Libraries: Fix -Wunreachable-code warnings from clang

This commit is contained in:
Nico Weber 2021-10-08 08:34:12 -04:00 committed by Andreas Kling
parent 96666f3209
commit b8dc3661ac
10 changed files with 7 additions and 27 deletions

View file

@ -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