fix some errors/warnings found by static code analyzer
This commit is contained in:
@@ -1525,7 +1525,7 @@ void Parser::ParseLV3MeshWeightsBlock(ASE::Mesh& mesh)
|
||||
continue;
|
||||
}
|
||||
// Number of bones
|
||||
if (TokenMatch(filePtr,"MESH_NUMBONE" ,11))
|
||||
if (TokenMatch(filePtr,"MESH_NUMBONE" ,12))
|
||||
{
|
||||
ParseLV4MeshLong(iNumBones);
|
||||
continue;
|
||||
@@ -1559,7 +1559,7 @@ void Parser::ParseLV4MeshBones(unsigned int iNumBones,ASE::Mesh& mesh)
|
||||
++filePtr;
|
||||
|
||||
// Mesh bone with name ...
|
||||
if (TokenMatch(filePtr,"MESH_BONE_NAME" ,16))
|
||||
if (TokenMatch(filePtr,"MESH_BONE_NAME" ,14))
|
||||
{
|
||||
// parse an index ...
|
||||
if(SkipSpaces(&filePtr))
|
||||
|
||||
Reference in New Issue
Block a user