diff --git a/src/common/zipstrm.cpp b/src/common/zipstrm.cpp index c960f548e3..79c1c449e4 100644 --- a/src/common/zipstrm.cpp +++ b/src/common/zipstrm.cpp @@ -2287,7 +2287,7 @@ bool wxZipOutputStream::Close() { CloseEntry(); - if (m_lasterror == wxSTREAM_WRITE_ERROR || m_entries.size() == 0) { + if (m_lasterror == wxSTREAM_WRITE_ERROR) { wxFilterOutputStream::Close(); return false; }