From 156f211c8b3ad92fb51e17992413bd9908933229 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 8 Dec 2014 21:06:30 +0100 Subject: [PATCH] Handle unused variable warnings --- src/GAudioOutput.cc | 1 + src/audio/QGCAudioWorker.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GAudioOutput.cc b/src/GAudioOutput.cc index 78a2dd0de7..891d8c7adc 100644 --- a/src/GAudioOutput.cc +++ b/src/GAudioOutput.cc @@ -84,6 +84,7 @@ GAudioOutput::~GAudioOutput() void GAudioOutput::mute(bool mute) { // XXX handle muting + Q_UNUSED(mute); } bool GAudioOutput::isMuted() diff --git a/src/audio/QGCAudioWorker.cpp b/src/audio/QGCAudioWorker.cpp index eac54d5716..f03ae6f088 100644 --- a/src/audio/QGCAudioWorker.cpp +++ b/src/audio/QGCAudioWorker.cpp @@ -89,7 +89,6 @@ void QGCAudioWorker::say(QString text, int severity) { // TODO Add severity filter Q_UNUSED(severity); - bool res = false; if (!emergency) { -- GitLab