Skip to content

Commit

Permalink
StateMachineGenerator: Remove unused variable
Browse files Browse the repository at this point in the history
This fixes build on MacOS m1 arch.
  • Loading branch information
guerinoni authored and linusg committed Sep 20, 2022
1 parent 76aace6 commit 4f46a0e
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -398,11 +398,9 @@ class @class_name@ {
_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@,
)~~~");
Expand Down

0 comments on commit 4f46a0e

Please sign in to comment.