mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:27:43 +00:00
LibLine: Properly mark the result of read() as ignored
Unbreaks the build.
This commit is contained in:
parent
e83300dc27
commit
a6fcf70e25
1 changed files with 1 additions and 1 deletions
|
@ -1049,7 +1049,7 @@ Vector<size_t, 2> Editor::vt_dsr()
|
||||||
more_junk_to_read = false;
|
more_junk_to_read = false;
|
||||||
(void)select(1, &readfds, nullptr, nullptr, &timeout);
|
(void)select(1, &readfds, nullptr, nullptr, &timeout);
|
||||||
if (FD_ISSET(0, &readfds)) {
|
if (FD_ISSET(0, &readfds)) {
|
||||||
read(0, buf, 16);
|
(void)read(0, buf, 16);
|
||||||
more_junk_to_read = true;
|
more_junk_to_read = true;
|
||||||
}
|
}
|
||||||
} while (more_junk_to_read);
|
} while (more_junk_to_read);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue