diff --git a/src/common/ZipHandler.cxx b/src/common/ZipHandler.cxx index fa3f79e73..e9dbbe72d 100644 --- a/src/common/ZipHandler.cxx +++ b/src/common/ZipHandler.cxx @@ -579,9 +579,13 @@ ZipHandler::zip_error z_stream stream; int zerr; +#if 0 + // TODO - check newer versions of ZIP, and determine why this specific + // version (0x14) is important /* make sure we don't need a newer mechanism */ if (zip->header.version_needed > 0x14) return ZIPERR_UNSUPPORTED; +#endif /* reset the stream */ memset(&stream, 0, sizeof(stream)); diff --git a/src/emucore/FSNode.cxx b/src/emucore/FSNode.cxx index 1d694e3ee..922d25780 100644 --- a/src/emucore/FSNode.cxx +++ b/src/emucore/FSNode.cxx @@ -96,10 +96,7 @@ FilesystemNode FilesystemNode::getParent() const return *this; AbstractFSNode* node = _realNode->getParent(); - if (node == 0) - return *this; - else - return FilesystemNode(node); + return (node == 0) ? *this : FilesystemNode(node); } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -