mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: remove unused parameter was_autogen
In commit 6bf4120dbb the trip-flags
were replaced by a simple boolean. This made the was_autogen
parameter to the remove_dive_from_trip() and unregister_dive_from_trip()
functions unused. Remove these parameters.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
95736506fe
commit
99d29a7838
4 changed files with 13 additions and 12 deletions
|
|
@ -859,7 +859,7 @@ static bool uemis_delete_dive(device_data_t *devdata, uint32_t diveid)
|
|||
if (dive) {
|
||||
devdata->download_table->dives[--devdata->download_table->nr] = NULL;
|
||||
if (dive->notrip)
|
||||
remove_dive_from_trip(dive, false);
|
||||
remove_dive_from_trip(dive);
|
||||
|
||||
free(dive->dc.sample);
|
||||
free((void *)dive->notes);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue