summaryrefslogtreecommitdiffstats
path: root/core/downloadfromdcthread.cpp
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/downloadfromdcthread.cpp
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/downloadfromdcthread.cpp')
-rw-r--r--core/downloadfromdcthread.cpp1
1 files changed, 0 insertions, 1 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;