aboutsummaryrefslogtreecommitdiffstats
path: root/core/libdivecomputer.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-02-28 21:25:22 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-02-28 15:31:48 -0800
commit8cde21a41ded4a774b86d112ae357750c15c0b10 (patch)
tree39ba94b293587cc53611b6e1bcebc25bfe2e2e2e /core/libdivecomputer.h
parenta729911893bea023d4e83c266ca28fad58cbb5f6 (diff)
downloadsubsurface-8cde21a41ded4a774b86d112ae357750c15c0b10.tar.gz
Cleanup: remove dc_user_device_t::trip
Since ff9506b21bbb9910256841dcb577bcb2e19047e8 the downloaders don't add dives to a new trip and therefore the trip field of dc_user_device_t became pointless. Remove it. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/libdivecomputer.h')
-rw-r--r--core/libdivecomputer.h1
1 files changed, 0 insertions, 1 deletions
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;