Remove unused method in MiniYaml

This commit is contained in:
RoosterDragon
2021-10-27 18:45:01 +01:00
committed by abcdefg30
parent 73547c31ec
commit 5416910249

View File

@@ -380,19 +380,6 @@ namespace OpenRA
return resolved;
}
/// <summary>
/// Merges any duplicate keys that are defined within the same set of nodes.
/// Does not resolve inheritance or node removals.
/// </summary>
static MiniYaml MergeSelfPartial(MiniYaml existingNodes)
{
// Nothing to do
if (existingNodes.Nodes == null || existingNodes.Nodes.Count == 0)
return existingNodes;
return new MiniYaml(existingNodes.Value, MergeSelfPartial(existingNodes.Nodes));
}
/// <summary>
/// Merges any duplicate keys that are defined within the same set of nodes.
/// Does not resolve inheritance or node removals.