From a955f4008ad9f64e93ad52e98903580c9d56245d Mon Sep 17 00:00:00 2001 From: kimmi Date: Thu, 24 Dec 2009 12:02:06 +0000 Subject: [PATCH] BUGFIX: Fix compiler warning: variable not initialized. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@523 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- code/ASELoader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/ASELoader.cpp b/code/ASELoader.cpp index a3f180a31..2447dcfe3 100644 --- a/code/ASELoader.cpp +++ b/code/ASELoader.cpp @@ -967,7 +967,7 @@ void ASEImporter::ConvertMeshes(ASE::Mesh& mesh, std::vector& avOutMesh p_pcOut->mNumFaces = (unsigned int)aiSplit[p].size(); // receive output vertex weights - std::vector >* avOutputBones; + std::vector > *avOutputBones = NULL; if (!mesh.mBones.empty()) { avOutputBones = new std::vector >[mesh.mBones.size()]; } @@ -1293,7 +1293,7 @@ bool ASEImporter::GenerateNormals(ASE::Mesh& mesh) { } } } - // The array ís reused + // The array �s reused ComputeNormalsWithSmoothingsGroups(mesh); return false; }