]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fs_zip.cpp
wxHTML src code indentation now conforms (more) to wxWin coding style
[wxWidgets.git] / src / common / fs_zip.cpp
index 706cd05352f97fc565bf9b533d141c7169ebb620..e78ce297a0ffb5907a39631b6615f4d7ceb953e3 100644 (file)
@@ -85,12 +85,9 @@ wxFSFile* wxZipFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString& l
                             GetAnchor(location),
                             wxDateTime(wxFileModificationTime(left)));
     }
-    else
-    {
-        if (s)
-            delete s;
-        return NULL;
-    }
+
+    delete s;
+    return NULL;
 }