diff options
author | Andreas Kling <kling@serenityos.org> | 2020-04-29 00:03:19 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-29 00:03:19 +0200 |
commit | 86810a4b025a0f9ada51ad959963bee00082a3c9 (patch) | |
tree | f16a081457bf11a1cfb9e9d61e73ead433c0d952 | |
parent | a6fcf70e2531cb703e0a6caa4da32a2eb9a54c11 (diff) | |
download | serenity-86810a4b025a0f9ada51ad959963bee00082a3c9.zip |
LibLine: Actually fix build :^)
-rw-r--r-- | Libraries/LibLine/Editor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibLine/Editor.cpp b/Libraries/LibLine/Editor.cpp index 12a750cafe..e32dfcd978 100644 --- a/Libraries/LibLine/Editor.cpp +++ b/Libraries/LibLine/Editor.cpp @@ -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); |