summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/source/win32/zipfile/zipfile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/source/win32/zipfile/zipfile.cxx b/shell/source/win32/zipfile/zipfile.cxx
index f7f8ccd23806..6ab62d5f94ce 100644
--- a/shell/source/win32/zipfile/zipfile.cxx
+++ b/shell/source/win32/zipfile/zipfile.cxx
@@ -405,7 +405,7 @@ ZipFile::ZipFile(const std::wstring &FileName) :
m_bShouldFree(true)
{
m_pStream = new FileStream(FileName.c_str());
- if (m_pStream && !isZipStream(m_pStream))
+ if (!isZipStream(m_pStream))
{
delete m_pStream;
m_pStream = nullptr;