summaryrefslogtreecommitdiffstats
path: root/qt-ui/subsurfacewebservices.cpp
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2013-12-09 22:37:50 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-09 22:47:28 +0100
commit26a1904cf88a97474468fab33879a0c3235e56ac (patch)
treeb726a95fdd6f6631e467e2f78566d622cc23c75e /qt-ui/subsurfacewebservices.cpp
parenta3f3e85246d8bebdf8a2e0611dce2c4c48d5e7b2 (diff)
downloadsubsurface-26a1904cf88a97474468fab33879a0c3235e56ac.tar.gz
Remove some unused variables
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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();
}