[PATCH 5/7] qmlmanager.cpp: fix unused variable warning
Lubomir I. Ivanov
neolit123 at gmail.com
Wed Nov 18 13:46:58 PST 2015
From: "Lubomir I. Ivanov" <neolit123 at gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123 at gmail.com>
---
qt-mobile/qmlmanager.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp
index fe8c5ed..89001aa 100644
--- a/qt-mobile/qmlmanager.cpp
+++ b/qt-mobile/qmlmanager.cpp
@@ -109,6 +109,7 @@ void QMLManager::commitChanges(QString diveId, QString suit, QString buddy, QStr
{
struct dive *d = get_dive_by_uniq_id(diveId.toInt());
bool diveChanged = false;
+ (void)diveChanged;
if (d->suit != suit.toUtf8().data()) {
diveChanged = true;
--
1.7.11.msysgit.0
More information about the subsurface
mailing list