diff --git a/FModel/ViewModels/AnimGraphViewModel.cs b/FModel/ViewModels/AnimGraphViewModel.cs
index 61f7789d..2040cc10 100644
--- a/FModel/ViewModels/AnimGraphViewModel.cs
+++ b/FModel/ViewModels/AnimGraphViewModel.cs
@@ -315,8 +315,8 @@ public class AnimGraphViewModel
///
/// Creates an for a state machine state sub-graph
- /// and stores it in keyed by the
- /// root node's property name (from StateRootNodeIndex).
+ /// and stores it in keyed by
+ /// (the root node's property name from StateRootNodeIndex).
///
private static void AddStateSubGraph(AnimGraphViewModel vm, List nodes, string rootNodePropName, int index)
{
@@ -353,7 +353,7 @@ public class AnimGraphViewModel
}
// Rename state sub-graphs whose nodes belong to a state machine
- foreach (var (key, layer) in vm.StateSubGraphs)
+ foreach (var (_, layer) in vm.StateSubGraphs)
{
var smName = string.Empty;
foreach (var node in layer.Nodes)