diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-10-03 22:03:39 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-06 19:47:06 -0700 |
commit | 90b019bc8d5e7ce6ed0de2851312ef368cdc7a12 (patch) | |
tree | b469ce0c5608f48f609e220ce6abedde3def3d01 /core/cochran.c | |
parent | 6dc1dcaea52e383803a620369567684f553ede80 (diff) | |
download | subsurface-90b019bc8d5e7ce6ed0de2851312ef368cdc7a12.tar.gz |
Core: remove dive->downloaded flag
This flag had two distinct uses:
- signal that dives were downloaded, not imported
- use to mark imported dives
Both are not used anymore, therefore remove the flag.
The uemis downloaded misused the flag to mark deleted
dives. Instead misuse the "hidden_by_filter" flag.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/cochran.c')
-rw-r--r-- | core/cochran.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/cochran.c b/core/cochran.c index 164b94bee..01f733043 100644 --- a/core/cochran.c +++ b/core/cochran.c @@ -785,7 +785,6 @@ static void cochran_parse_dive(const unsigned char *decode, unsigned mod, dc->duration.seconds = duration; } - dive->downloaded = true; record_dive_to_table(dive, table); mark_divelist_changed(true); |