mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: remove unused variables
Commit 4d06ddd723
removed deletion of
unused dive sites on save. The corresponding variables were not
removed leading to compiler warnings. Remove the variables too.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
5f04fecd00
commit
239e6f237f
1 changed files with 0 additions and 2 deletions
|
@ -595,8 +595,6 @@ void save_dives_buffer(struct membuffer *b, const bool select_only, bool anonymi
|
|||
purge_empty_dive_sites();
|
||||
put_format(b, "<divesites>\n");
|
||||
for (i = 0; i < dive_site_table.nr; i++) {
|
||||
int j;
|
||||
struct dive *d;
|
||||
struct dive_site *ds = get_dive_site(i);
|
||||
if (!is_dive_site_used(ds, false)) {
|
||||
/* Only write used dive sites */
|
||||
|
|
Loading…
Add table
Reference in a new issue