diff options
Diffstat (limited to 'qt-ui/subsurfacewebservices.cpp')
-rw-r--r-- | qt-ui/subsurfacewebservices.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index 2a2d2b370..b025b45bd 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -777,15 +777,6 @@ void DivelogsDeWebServices::downloadFinished() // now allow the user to cancel or accept ui.buttonBox->button(QDialogButtonBox::Apply)->setEnabled(true); - quint64 entries; -#if defined(LIBZIP_VERSION_MAJOR) - entries = zip_get_num_entries(zip, 0); -#else - // old version of libzip - entries = zip_get_num_files(zip); -#endif - - zip_close(zip); zipFile.close(); } |