diff options
Diffstat (limited to 'ui/qt/utils/wireshark_zip_helper.cpp')
-rw-r--r-- | ui/qt/utils/wireshark_zip_helper.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/qt/utils/wireshark_zip_helper.cpp b/ui/qt/utils/wireshark_zip_helper.cpp index f2035dda53..3595215843 100644 --- a/ui/qt/utils/wireshark_zip_helper.cpp +++ b/ui/qt/utils/wireshark_zip_helper.cpp @@ -45,7 +45,8 @@ bool WireSharkZipHelper::unzip(QString zipFile, QString directory, bool (*fileCh return false; unz_global_info64 gi; - int err = unzGetGlobalInfo64(uf,&gi); + int err; + unzGetGlobalInfo64(uf,&gi); unsigned int nmbr = static_cast<unsigned int>(gi.number_entry); if (nmbr <= 0) return false; |