Assert return value

feature/pre-code-move
kaetemi 5 years ago committed by Jan Boon
parent 71c7d3161e
commit 168c770716

@ -1255,6 +1255,7 @@ const IPrimitive *IPrimitive::getPrimitive (const std::string &absoluteOrRelativ
for (childIndex=0;childIndex<cursor->getNumChildren();childIndex++)
{
cursor->getChild(child,childIndex);
nlassert(child);
string name;
if ( child->getPropertyByName("class", name)
&& toUpper(name)==childName )

Loading…
Cancel
Save