From 617b7659b7bc79cfdea2b331c1df1b06b6099390 Mon Sep 17 00:00:00 2001 From: dogmaphobic Date: Wed, 4 Mar 2015 01:08:52 -0500 Subject: [PATCH] Missed a case where Text To Speech is disabled. --- src/audio/QGCAudioWorker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio/QGCAudioWorker.cpp b/src/audio/QGCAudioWorker.cpp index b96c4d9f6..e0d9ee86c 100644 --- a/src/audio/QGCAudioWorker.cpp +++ b/src/audio/QGCAudioWorker.cpp @@ -141,7 +141,7 @@ void QGCAudioWorker::say(QString inText, int severity) #else // Make sure there isn't an unused variable warning when speech output is disabled - Q_UNUSED(text); + Q_UNUSED(inText); #endif } } -- 2.22.0