summaryrefslogtreecommitdiffstats
path: root/subsurface-core/gpslocation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/gpslocation.cpp')
-rw-r--r--subsurface-core/gpslocation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/subsurface-core/gpslocation.cpp b/subsurface-core/gpslocation.cpp
index 06af74c0c..c0d55a0be 100644
--- a/subsurface-core/gpslocation.cpp
+++ b/subsurface-core/gpslocation.cpp
@@ -147,14 +147,14 @@ static void copy_gps_location(struct gpsTracker *gps, struct dive *d)
}
#define SAME_GROUP 6 * 3600 /* six hours */
-bool GpsLocation::applyLocations()
+void GpsLocation::applyLocations()
{
int i;
bool changed = false;
int last = 0;
int cnt = geoSettings->value("count", 0).toInt();
if (cnt == 0)
- return false;
+ return;
// create a table with the GPS information
struct gpsTracker *gpsTable = (struct gpsTracker *)calloc(cnt, sizeof(struct gpsTracker));