1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Fixed null check for mAttributeTypeRef

This commit is contained in:
Brian Fiete 2020-05-17 07:04:40 -07:00
parent 3d3cde906b
commit fb96595ac3

View file

@ -4280,6 +4280,8 @@ void BfCompiler::GetSymbolReferences()
return; return;
while (attrib != NULL) while (attrib != NULL)
{
if (attrib->mAttributeTypeRef != NULL)
{ {
String attrName = attrib->mAttributeTypeRef->ToString(); String attrName = attrib->mAttributeTypeRef->ToString();
BfType* attrType = NULL; BfType* attrType = NULL;
@ -4311,6 +4313,7 @@ void BfCompiler::GetSymbolReferences()
} }
} }
} }
}
attrib = attrib->mNextAttribute; attrib = attrib->mNextAttribute;
} }