From a9aa2b15791dc54122eff76ab2ae18baaa78239a Mon Sep 17 00:00:00 2001 From: Richard Date: Wed, 1 Jul 2015 18:44:36 -0600 Subject: [PATCH] Fixed: Initialize all members in MD5Importer --- code/MD5Loader.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/code/MD5Loader.cpp b/code/MD5Loader.cpp index c264657e6..6628aa346 100644 --- a/code/MD5Loader.cpp +++ b/code/MD5Loader.cpp @@ -82,8 +82,16 @@ static const aiImporterDesc desc = { // ------------------------------------------------------------------------------------------------ // Constructor to be privately used by Importer MD5Importer::MD5Importer() -: mBuffer() -, configNoAutoLoad (false) + : mIOHandler() + , mBuffer() + , fileSize() + , iLineNumber() + , pScene() + , pIOHandler() + , bHadMD5Mesh() + , bHadMD5Anim() + , bHadMD5Camera() + , configNoAutoLoad (false) {} // ------------------------------------------------------------------------------------------------