diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-09-06 17:50:58 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-09-08 17:20:09 -0700 |
commit | 0a747608b1673eee9d134dc3cab57036768ef97f (patch) | |
tree | ecd12ab016b738cdee682d33521adb420eb04e9b /smtk-import | |
parent | 048cdcaa318f111e12d78c60927a0e2fc30eb1d6 (diff) | |
download | subsurface-0a747608b1673eee9d134dc3cab57036768ef97f.tar.gz |
cleanup: remove dead code from delete_divecomputer()
delete_divecomputer had legacy code, which
1) invalidated the git dive cache
2) made sure that the dive computer was not displayed anymore
However, both callers called on a freshly copied dive, which
has its dive cache invalidated in copy_dive() and can't be
the currently displayed dive. Therefore, this code is dead
code and can be removed.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'smtk-import')
0 files changed, 0 insertions, 0 deletions