summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Libraries/LibLine/Editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibLine/Editor.cpp b/Libraries/LibLine/Editor.cpp
index b2d37e7e76..12a750cafe 100644
--- a/Libraries/LibLine/Editor.cpp
+++ b/Libraries/LibLine/Editor.cpp
@@ -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);