[3MF] Silence uninitialized variable warning

This is a false positive but the compiler can't see it
pull/3665/head
Turo Lamminen 2021-02-22 15:16:15 +02:00
parent 3c79b12e02
commit 3e1c785d31
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ private:
aiFace face = ReadTriangle(currentNode);
faces.push_back(face);
int pid, p1;
int pid = 0, p1;
bool hasPid = getNodeAttribute(currentNode, D3MF::XmlTag::pid, pid);
bool hasP1 = getNodeAttribute(currentNode, D3MF::XmlTag::p1, p1);