mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-04 15:19:16 +00:00
LibGUI: Cast unused smart-pointer return values to void
This commit is contained in:
parent
907feb84a0
commit
d95e50643e
Notes:
sideshowbarker
2024-07-18 03:35:30 +09:00
Author: https://github.com/AtkinsSJ
Commit: d95e50643e
Pull-request: https://github.com/SerenityOS/serenity/pull/11151
4 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue