mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
LibLine: Properly mark the result of read() as ignored
Unbreaks the build.
This commit is contained in:
parent
e83300dc27
commit
a6fcf70e25
Notes:
sideshowbarker
2024-07-19 07:12:22 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/a6fcf70e253 Pull-request: https://github.com/SerenityOS/serenity/pull/2010
@ -1049,7 +1049,7 @@ Vector<size_t, 2> Editor::vt_dsr()
|
||||
more_junk_to_read = false;
|
||||
(void)select(1, &readfds, nullptr, nullptr, &timeout);
|
||||
if (FD_ISSET(0, &readfds)) {
|
||||
read(0, buf, 16);
|
||||
(void)read(0, buf, 16);
|
||||
more_junk_to_read = true;
|
||||
}
|
||||
} while (more_junk_to_read);
|
||||
|
Loading…
Reference in New Issue
Block a user