Browse Source

Handle unused variable warnings

QGC4.4
Lorenz Meier 10 years ago
parent
commit
156f211c8b
  1. 1
      src/GAudioOutput.cc
  2. 1
      src/audio/QGCAudioWorker.cpp

1
src/GAudioOutput.cc

@ -84,6 +84,7 @@ GAudioOutput::~GAudioOutput() @@ -84,6 +84,7 @@ GAudioOutput::~GAudioOutput()
void GAudioOutput::mute(bool mute)
{
// XXX handle muting
Q_UNUSED(mute);
}
bool GAudioOutput::isMuted()

1
src/audio/QGCAudioWorker.cpp

@ -89,7 +89,6 @@ void QGCAudioWorker::say(QString text, int severity) @@ -89,7 +89,6 @@ void QGCAudioWorker::say(QString text, int severity)
{
// TODO Add severity filter
Q_UNUSED(severity);
bool res = false;
if (!emergency)
{

Loading…
Cancel
Save