summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-12-02 12:53:50 +0000
committerAndreas Kling <kling@serenityos.org>2021-12-05 15:31:03 +0100
commit31ea222f971a8c88be0243b0ff96850efcf16fc2 (patch)
tree399c4d588b3b0e33b92cc3592ce0cfe62320c536 /Userland/Libraries
parent0e2fa09f52fd48b56eb54a6a8a2203815e426c91 (diff)
downloadserenity-31ea222f971a8c88be0243b0ff96850efcf16fc2.zip
LibVT: Cast unused smart-pointer return value to void
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibVT/Terminal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibVT/Terminal.cpp b/Userland/Libraries/LibVT/Terminal.cpp
index e4e3d990ab..b8c48a8b17 100644
--- a/Userland/Libraries/LibVT/Terminal.cpp
+++ b/Userland/Libraries/LibVT/Terminal.cpp
@@ -1568,7 +1568,7 @@ void Terminal::set_size(u16 columns, u16 rows)
if (m_history.size() >= 2 && m_history[m_history.size() - 2].termination_column().has_value())
break;
--extra_lines;
- m_history.take_last();
+ (void)m_history.take_last();
continue;
}
break;