LibLine: Actually fix build :^)

This commit is contained in:
Andreas Kling 2020-04-29 00:03:19 +02:00
parent a6fcf70e25
commit 86810a4b02
Notes: sideshowbarker 2024-07-19 07:12:19 +09:00

View file

@ -1049,7 +1049,8 @@ Vector<size_t, 2> Editor::vt_dsr()
more_junk_to_read = false;
(void)select(1, &readfds, nullptr, nullptr, &timeout);
if (FD_ISSET(0, &readfds)) {
(void)read(0, buf, 16);
auto nread = read(0, buf, 16);
(void)nread;
more_junk_to_read = true;
}
} while (more_junk_to_read);