summaryrefslogtreecommitdiffstats
path: root/qt-ui/subsurfacewebservices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/subsurfacewebservices.cpp')
-rw-r--r--qt-ui/subsurfacewebservices.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp
index f0e68a4ac..a8421def9 100644
--- a/qt-ui/subsurfacewebservices.cpp
+++ b/qt-ui/subsurfacewebservices.cpp
@@ -111,7 +111,6 @@ static char *prepare_dives_for_divelogs(const bool selected)
xmlDoc *transformed;
struct zip_source *s[dive_table.nr];
struct zip *zip;
- char *error = NULL;
const QString errPrefix("divelog.de-upload:");
/* generate a random filename and create/open that file with zip_open */
@@ -755,7 +754,6 @@ void DivelogsDeWebServices::downloadFinished()
// now allow the user to cancel or accept
ui.buttonBox->button(QDialogButtonBox::Apply)->setEnabled(true);
-close_zip:
zip_close(zip);
zipFile.close();
}