summaryrefslogtreecommitdiff
path: root/Userland/Applications/SystemMonitor
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-12-02 11:47:21 +0000
committerAndreas Kling <kling@serenityos.org>2021-12-05 15:31:03 +0100
commitd2024f04bd76abc111eeb6bd28e90ca6388af167 (patch)
treebd0ed7e4467b2c7f7ff4992b1fda285340586c57 /Userland/Applications/SystemMonitor
parent92f8514a854233b9b533096006641d57a91d099a (diff)
downloadserenity-d2024f04bd76abc111eeb6bd28e90ca6388af167.zip
Userland: Cast unused BackgroundAction::construct() results to void
User code does not need to keep this alive, so casting to void is safe. But maybe a bit weird.
Diffstat (limited to 'Userland/Applications/SystemMonitor')
-rw-r--r--Userland/Applications/SystemMonitor/ThreadStackWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/SystemMonitor/ThreadStackWidget.cpp b/Userland/Applications/SystemMonitor/ThreadStackWidget.cpp
index 906e2bc08b..74dc0991c6 100644
--- a/Userland/Applications/SystemMonitor/ThreadStackWidget.cpp
+++ b/Userland/Applications/SystemMonitor/ThreadStackWidget.cpp
@@ -113,7 +113,7 @@ private:
void ThreadStackWidget::refresh()
{
- Threading::BackgroundAction<Vector<Symbolication::Symbol>>::construct(
+ (void)Threading::BackgroundAction<Vector<Symbolication::Symbol>>::construct(
[pid = m_pid, tid = m_tid](auto&) {
return Symbolication::symbolicate_thread(pid, tid, Symbolication::IncludeSourcePosition::No);
},