mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibGUI: Cast unused smart-pointer return values to void
This commit is contained in:
committed by
Andreas Kling
parent
907feb84a0
commit
d95e50643e
@@ -85,7 +85,7 @@ bool TextDocument::set_text(StringView text, AllowCallback allow_callback)
|
||||
|
||||
// Don't show the file's trailing newline as an actual new line.
|
||||
if (line_count() > 1 && line(line_count() - 1).is_empty())
|
||||
m_lines.take_last();
|
||||
(void)m_lines.take_last();
|
||||
|
||||
m_client_notifications_enabled = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user