collada: fix warning: not inited variable.

pull/2966/head
Kim Kulling 2020-09-27 21:19:23 +02:00
parent 052cc2e070
commit 1c85676a9c
1 changed files with 1 additions and 1 deletions

View File

@ -1416,7 +1416,7 @@ void ColladaParser::ReadDataArray(XmlNode &node) {
// read attributes // read attributes
std::string id; std::string id;
XmlParser::getStdStrAttribute(node, "id", id); XmlParser::getStdStrAttribute(node, "id", id);
unsigned int count; unsigned int count = 0;
XmlParser::getUIntAttribute(node, "count", count); XmlParser::getUIntAttribute(node, "count", count);
std::string v; std::string v;
XmlParser::getValueAsString(node, v); XmlParser::getValueAsString(node, v);