summaryrefslogtreecommitdiffstats
path: root/core/uemis-downloader.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/uemis-downloader.c')
-rw-r--r--core/uemis-downloader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/uemis-downloader.c b/core/uemis-downloader.c
index 3ae6f7b8d..0e7ed1f8b 100644
--- a/core/uemis-downloader.c
+++ b/core/uemis-downloader.c
@@ -859,7 +859,7 @@ static bool uemis_delete_dive(device_data_t *devdata, uint32_t diveid)
if (dive) {
devdata->download_table->dives[--devdata->download_table->nr] = NULL;
if (dive->notrip)
- remove_dive_from_trip(dive, false);
+ remove_dive_from_trip(dive);
free(dive->dc.sample);
free((void *)dive->notes);