summaryrefslogtreecommitdiffstats
path: root/core/save-xml.c
diff options
context:
space:
mode:
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 */