LibVT: Cast unused smart-pointer return value to void

This commit is contained in:
Sam Atkins 2021-12-02 12:53:50 +00:00 committed by Andreas Kling
parent 0e2fa09f52
commit 31ea222f97
Notes: sideshowbarker 2024-07-17 23:08:51 +09:00

View file

@ -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;