diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-10-23 19:11:13 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-29 00:09:31 +0000 |
commit | f527a70831a37e736431baa5705c9d188fc12f4b (patch) | |
tree | 5260e51c944b193175b9e318457bb281ee760fdf /core/divelist.c | |
parent | 8de471f90e95a5a75d0fec78d5bbf900eb90f235 (diff) | |
download | subsurface-f527a70831a37e736431baa5705c9d188fc12f4b.tar.gz |
Dive site: pass dive-site pointer to delete_dive_site()
Instead of passing a uuid, pass a pointer to the dive site.
This is small step in an effort to remove uuids.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/divelist.c')
-rw-r--r-- | core/divelist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/divelist.c b/core/divelist.c index d1d326209..6197f23b9 100644 --- a/core/divelist.c +++ b/core/divelist.c @@ -1687,7 +1687,7 @@ void clear_dive_file_data() while (dive_table.nr) delete_single_dive(0); while (dive_site_table.nr) - delete_dive_site(get_dive_site(0)->uuid); + delete_dive_site(get_dive_site(0)); clear_dive(&displayed_dive); |