From eb5a7938e03862c9bbcb77dec6ac7032b26c97e8 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Sun, 6 Feb 2022 21:16:04 +0100 Subject: [PATCH] Remove dead code --- code/AssetLib/XGL/XGLLoader.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/code/AssetLib/XGL/XGLLoader.cpp b/code/AssetLib/XGL/XGLLoader.cpp index 8932d6d41..a711598f9 100644 --- a/code/AssetLib/XGL/XGLLoader.cpp +++ b/code/AssetLib/XGL/XGLLoader.cpp @@ -58,15 +58,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. using namespace Assimp; -// zlib is needed for compressed XGL files -#ifndef ASSIMP_BUILD_NO_COMPRESSED_XGL -# ifdef ASSIMP_BUILD_NO_OWN_ZLIB -# include -# else -# include -# endif -#endif - namespace Assimp { // this has to be in here because LogFunctions is in ::Assimp template <> @@ -120,8 +111,8 @@ const aiImporterDesc *XGLImporter::GetInfo() const { // ------------------------------------------------------------------------------------------------ // Imports the given file into the given scene structure. void XGLImporter::InternReadFile(const std::string &pFile, aiScene *pScene, IOSystem *pIOHandler) { -#ifndef ASSIMP_BUILD_NO_COMPRESSED_XGL - std::vector uncompressed; + #ifndef ASSIMP_BUILD_NO_COMPRESSED_XGL + std::vector uncompressed; #endif m_scene = pScene;