Cleanup: remove dc_user_device_t::trip

Since ff9506b21b 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>
This commit is contained in:
Berthold Stoeger 2019-02-28 21:25:22 +01:00 committed by Dirk Hohndel
parent a729911893
commit 8cde21a41d
2 changed files with 0 additions and 2 deletions

View file

@ -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;

View file

@ -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;