diff --git a/src/OMSimulatorLib/Values.cpp b/src/OMSimulatorLib/Values.cpp index 97666685b..42a970311 100644 --- a/src/OMSimulatorLib/Values.cpp +++ b/src/OMSimulatorLib/Values.cpp @@ -591,10 +591,9 @@ void oms::Values::exportParameterBindings(pugi::xml_node &node, Snapshot &snapsh if (!it.allresources.empty()) { bool nodeSet = true; - //pugi::xml_node node_parameters_bindings = node.append_child(oms::ssp::Version1_0::ssd::parameter_bindings); + pugi::xml_node node_parameters_bindings; for (const auto &res : it.allresources) { - pugi::xml_node node_parameters_bindings; if (nodeSet && res.second.linkResources) { node_parameters_bindings = node.append_child(oms::ssp::Version1_0::ssd::parameter_bindings);