collada: fix warning: not inited variable.

pull/2966/head
Kim Kulling 2020-09-27 21:14:21 +02:00
parent 202907d471
commit 5038f21d06
1 changed files with 1 additions and 1 deletions

View File

@ -693,7 +693,7 @@ void ColladaParser::ReadControllerJoints(XmlNode &node, Collada::Controller &pCo
// Reads the joint weights for the given controller
void ColladaParser::ReadControllerWeights(XmlNode &node, Collada::Controller &pController) {
// Read vertex count from attributes and resize the array accordingly
int vertexCount;
int vertexCount=0;
XmlParser::getIntAttribute(node, "count", vertexCount);
for (XmlNode currentNode = node.first_child(); currentNode; currentNode = currentNode.next_sibling()) {