Remove some unused variables

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2013-12-09 22:37:50 +01:00 committed by Dirk Hohndel
parent a3f3e85246
commit 26a1904cf8
4 changed files with 0 additions and 7 deletions

View file

@ -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();
}