StateMachineGenerator: Remove unused variable

This fixes build on MacOS m1 arch.
This commit is contained in:
Federico Guerinoni 2022-09-20 19:35:11 +02:00 committed by Linus Groh
parent 76aace6f19
commit 4f46a0e4aa
Notes: sideshowbarker 2024-07-17 18:06:52 +09:00

View file

@ -398,11 +398,9 @@ private:
_Anywhere,
)~~~");
int largest_state_value = 0;
for (auto s : machine.states) {
auto state_generator = generator.fork();
state_generator.set("state.name", s.name);
largest_state_value++;
state_generator.append(R"~~~(
@state.name@,
)~~~");