diff --git a/code/AssetLib/X3D/X3DImporter_Group.cpp b/code/AssetLib/X3D/X3DImporter_Group.cpp index f579dc517..b101aa4eb 100644 --- a/code/AssetLib/X3D/X3DImporter_Group.cpp +++ b/code/AssetLib/X3D/X3DImporter_Group.cpp @@ -72,7 +72,7 @@ void X3DImporter::startReadGroup(XmlNode &node) { // if "USE" defined then find already defined element. if (!use.empty()) { - X3DNodeElementBase *ne = nullptr; + X3DNodeElementBase *ne(nullptr); ne = MACRO_USE_CHECKANDAPPLY(node, def, use, ENET_Group, ne); } else { ParseHelper_Group_Begin(); // create new grouping element and go deeper if node has children. @@ -110,7 +110,7 @@ void X3DImporter::startReadStaticGroup(XmlNode &node) { // if "USE" defined then find already defined element. if (!use.empty()) { - X3DNodeElementBase *ne = nullptr; + X3DNodeElementBase *ne(nullptr); ne = MACRO_USE_CHECKANDAPPLY(node, def, use, ENET_Group, ne); } else { @@ -153,7 +153,7 @@ void X3DImporter::startReadSwitch(XmlNode &node) { // if "USE" defined then find already defined element. if (!use.empty()) { - X3DNodeElementBase *ne=nullptr; + X3DNodeElementBase *ne(nullptr); ne = MACRO_USE_CHECKANDAPPLY(node, def, use, ENET_Group, ne); } else {