aboutsummaryrefslogtreecommitdiff
path: root/launcher/tools
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/tools')
-rw-r--r--launcher/tools/JProfiler.cpp2
-rw-r--r--launcher/tools/JVisualVM.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/launcher/tools/JProfiler.cpp b/launcher/tools/JProfiler.cpp
index 15c0cab6..f08ee73d 100644
--- a/launcher/tools/JProfiler.cpp
+++ b/launcher/tools/JProfiler.cpp
@@ -34,7 +34,7 @@ void JProfiler::profilerStarted()
emit readyToLaunch(tr("Listening on port: %1").arg(listeningPort));
}
-void JProfiler::profilerFinished(int exit, QProcess::ExitStatus status)
+void JProfiler::profilerFinished([[maybe_unused]] int exit, QProcess::ExitStatus status)
{
if (status == QProcess::CrashExit)
{
diff --git a/launcher/tools/JVisualVM.cpp b/launcher/tools/JVisualVM.cpp
index 28ffb9cd..2734f5ab 100644
--- a/launcher/tools/JVisualVM.cpp
+++ b/launcher/tools/JVisualVM.cpp
@@ -32,7 +32,7 @@ void JVisualVM::profilerStarted()
emit readyToLaunch(tr("JVisualVM started"));
}
-void JVisualVM::profilerFinished(int exit, QProcess::ExitStatus status)
+void JVisualVM::profilerFinished([[maybe_unused]] int exit, QProcess::ExitStatus status)
{
if (status == QProcess::CrashExit)
{