소스 검색

Merge pull request #69 from sherief/master

Fix for potential use of unassigned variable compiler warning.
Alexander Gessler 12 년 전
부모
커밋
9dca64d135
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      code/FBXParser.cpp

+ 1 - 1
code/FBXParser.cpp

@@ -512,7 +512,7 @@ void ReadBinaryDataArray(char type, uint32_t count, const char*& data, const cha
 	ai_assert(data + comp_len == end);
 
 	// determine the length of the uncompressed data by looking at the type signature
-	uint32_t stride;
+	uint32_t stride = 0;
 	switch(type)
 	{
 	case 'f':