From: "Lubomir I. Ivanov" <[email protected]>

'changed' is set but not used in GpsLocation::applyLocations().
mark it with (void), until used in the function logic.

Signed-off-by: Lubomir I. Ivanov <[email protected]>
---
 qt-mobile/gpslocation.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qt-mobile/gpslocation.cpp b/qt-mobile/gpslocation.cpp
index 7ce60b4..e34ae39 100644
--- a/qt-mobile/gpslocation.cpp
+++ b/qt-mobile/gpslocation.cpp
@@ -102,6 +102,7 @@ bool GpsLocation::applyLocations()
 {
        int i;
        bool changed = false;
+       (void)changed;
        int last = 0;
        int cnt = geoSettings->value("count", 0).toInt();
        if (cnt == 0)
-- 
1.7.11.msysgit.0

_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to