Browse Source

Fixed: Initialize all members in MD2Importer

Richard 10 years ago
parent
commit
abc47f1b4e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      code/MD2Loader.cpp

+ 4 - 0
code/MD2Loader.cpp

@@ -92,6 +92,10 @@ void MD2::LookupNormalIndex(uint8_t iNormalIndex,aiVector3D& vOut)
 // ------------------------------------------------------------------------------------------------
 // Constructor to be privately used by Importer
 MD2Importer::MD2Importer()
+    : configFrameID(),
+    m_pcHeader(),
+    mBuffer(),
+    fileSize()
 {}
 
 // ------------------------------------------------------------------------------------------------