From 239e6f237f356eb2bf31105b7a7b86712344d075 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Thu, 10 Jan 2019 16:17:50 +0200 Subject: 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 --- core/save-xml.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'core/save-xml.c') 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, "\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 */ -- cgit v1.2.3-70-g09d2