Browse Source

Fix Assimp compile warning

rdb 10 years ago
parent
commit
946c1e986d
1 changed files with 6 additions and 2 deletions
  1. 6 2
      pandatool/src/assimp/pandaLogger.h

+ 6 - 2
pandatool/src/assimp/pandaLogger.h

@@ -29,8 +29,12 @@ public:
   static void set_default();
   static void set_default();
 
 
 protected:
 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 OnDebug(const char *message);
   void OnError(const char *message);
   void OnError(const char *message);