diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-12-23 10:08:44 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-12-23 20:00:45 +0100 |
commit | 99d29a7838b9f0d9a55885924ba4a614e9cdc7ff (patch) | |
tree | 992a1d7ece18ac020310376ff275c47704b64c36 /core/uemis-downloader.c | |
parent | 95736506fe10fdc4fb5facaf2bd2dac5c4b179da (diff) | |
download | subsurface-99d29a7838b9f0d9a55885924ba4a614e9cdc7ff.tar.gz |
Cleanup: remove unused parameter was_autogen
In commit 6bf4120dbbf7be1b9267e0e86f3948b77870ea71 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>
Diffstat (limited to 'core/uemis-downloader.c')
-rw-r--r-- | core/uemis-downloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/uemis-downloader.c b/core/uemis-downloader.c index 3ae6f7b8d..0e7ed1f8b 100644 --- a/core/uemis-downloader.c +++ b/core/uemis-downloader.c @@ -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); |