summaryrefslogtreecommitdiffstats
path: root/core/save-xml.c
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-01-10 16:17:50 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-01-19 13:48:17 -0800
commit239e6f237f356eb2bf31105b7a7b86712344d075 (patch)
tree80879e89dc21d13730e86406b092fa7394b44209 /core/save-xml.c
parent5f04fecd005f6566f9931ba7b692bd6ca109bc87 (diff)
downloadsubsurface-239e6f237f356eb2bf31105b7a7b86712344d075.tar.gz
Cleanup: remove unused variables
Commit 4d06ddd72351f7804acdaec81f0400a735581229 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>
Diffstat (limited to 'core/save-xml.c')
-rw-r--r--core/save-xml.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/save-xml.c b/core/save-xml.c
index cae18f8c7..56504c4d3 100644
--- a/core/save-xml.c
+++ b/core/save-xml.c
@@ -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 */