summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/downloadfromdcthread.cpp1
-rw-r--r--core/libdivecomputer.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp
index 97e04c48b..214854342 100644
--- a/core/downloadfromdcthread.cpp
+++ b/core/downloadfromdcthread.cpp
@@ -257,7 +257,6 @@ void show_computer_list()
DCDeviceData::DCDeviceData()
{
memset(&data, 0, sizeof(data));
- data.trip = nullptr;
data.download_table = nullptr;
data.diveid = 0;
data.deviceid = 0;
diff --git a/core/libdivecomputer.h b/core/libdivecomputer.h
index 8f6d222db..db3d0a0ff 100644
--- a/core/libdivecomputer.h
+++ b/core/libdivecomputer.h
@@ -38,7 +38,6 @@ typedef struct dc_user_device_t
dc_device_t *device;
dc_context_t *context;
dc_iostream_t *iostream;
- struct dive_trip *trip;
int preexisting;
bool force_download;
bool libdc_log;