1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 06:17:35 +00:00

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

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;