From 946c1e986d3590725bb2fb1b51c1a9d019ba96b8 Mon Sep 17 00:00:00 2001 From: rdb Date: Sat, 28 Nov 2015 15:51:51 +0100 Subject: [PATCH] Fix Assimp compile warning --- pandatool/src/assimp/pandaLogger.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pandatool/src/assimp/pandaLogger.h b/pandatool/src/assimp/pandaLogger.h index 5930ef1248..8996d6dbe5 100644 --- a/pandatool/src/assimp/pandaLogger.h +++ b/pandatool/src/assimp/pandaLogger.h @@ -29,8 +29,12 @@ public: static void set_default(); protected: - INLINE bool attachStream(Assimp::LogStream*, unsigned int) {}; - INLINE bool detatchStream(Assimp::LogStream*, unsigned int) {}; + INLINE bool attachStream(Assimp::LogStream*, unsigned int) { + return false; + }; + INLINE bool detatchStream(Assimp::LogStream*, unsigned int) { + return false; + }; void OnDebug(const char *message); void OnError(const char *message);