@@ -82,7 +82,7 @@ public class HierarchicalStateMachine<S: StateType, E: StateEventType>: StateMac
8282 public override var state : State
8383 {
8484 // NOTE: returning `substate` is not reliable (as a spec), so replace it with actual `submachine.state` instead
85- let ( submachine, substate ) = self . _submachineTupleForState ( self . _state)
85+ let ( submachine, _ ) = self . _submachineTupleForState ( self . _state)
8686
8787 if let submachine = submachine {
8888 self . _state = " \( submachine. name) . \( submachine. state) " as! State
@@ -110,7 +110,7 @@ public class HierarchicalStateMachine<S: StateType, E: StateEventType>: StateMac
110110
111111 let condition : Condition = { transition -> Bool in
112112
113- let ( fromSubmachine, fromSubstate ) = self . _submachineTupleForState ( route. transition. fromState)
113+ let ( fromSubmachine, _ ) = self . _submachineTupleForState ( route. transition. fromState)
114114 let ( toSubmachine, toSubstate) = self . _submachineTupleForState ( route. transition. toState)
115115
116116 //
@@ -139,9 +139,9 @@ public class HierarchicalStateMachine<S: StateType, E: StateEventType>: StateMac
139139
140140 let fromState = self . state
141141 let toState = state
142- let transition = fromState => toState
142+ _ = fromState => toState
143143
144- let ( fromSubmachine, fromSubstate ) = self . _submachineTupleForState ( fromState)
144+ let ( fromSubmachine, _ ) = self . _submachineTupleForState ( fromState)
145145 let ( toSubmachine, toSubstate) = self . _submachineTupleForState ( toState)
146146
147147 // try changing submachine-internal state
0 commit comments