StateMachineGenerator: Remove unused variable
This fixes build on MacOS m1 arch.
This commit is contained in:
parent
76aace6f19
commit
4f46a0e4aa
Notes:
sideshowbarker
2024-07-17 18:06:52 +09:00
Author: https://github.com/guerinoni Commit: https://github.com/SerenityOS/serenity/commit/4f46a0e4aa Pull-request: https://github.com/SerenityOS/serenity/pull/15300 Reviewed-by: https://github.com/linusg
1 changed files with 0 additions and 2 deletions
|
@ -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@,
|
||||
)~~~");
|
||||
|
|
Loading…
Add table
Reference in a new issue