瀏覽代碼

BUGFIX: Fix compiler warning: variable not initialized.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@523 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
kimmi 16 年之前
父節點
當前提交
a955f4008a
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      code/ASELoader.cpp

+ 2 - 2
code/ASELoader.cpp

@@ -967,7 +967,7 @@ void ASEImporter::ConvertMeshes(ASE::Mesh& mesh, std::vector<aiMesh*>& avOutMesh
 				p_pcOut->mNumFaces = (unsigned int)aiSplit[p].size();
 
 				// receive output vertex weights
-				std::vector<std::pair<unsigned int, float> >* avOutputBones;
+				std::vector<std::pair<unsigned int, float> > *avOutputBones = NULL;
 				if (!mesh.mBones.empty())	{
 					avOutputBones = new std::vector<std::pair<unsigned int, float> >[mesh.mBones.size()];
 				}
@@ -1293,7 +1293,7 @@ bool ASEImporter::GenerateNormals(ASE::Mesh& mesh)	{
 			}
 		}
 	}
-	// The array ís reused
+	// The array �s reused
 	ComputeNormalsWithSmoothingsGroups<ASE::Face>(mesh);
 	return false;
 }