mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-29 06:22:53 +00:00
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: 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,
|
_Anywhere,
|
||||||
)~~~");
|
)~~~");
|
||||||
|
|
||||||
int largest_state_value = 0;
|
|
||||||
for (auto s : machine.states) {
|
for (auto s : machine.states) {
|
||||||
auto state_generator = generator.fork();
|
auto state_generator = generator.fork();
|
||||||
state_generator.set("state.name", s.name);
|
state_generator.set("state.name", s.name);
|
||||||
largest_state_value++;
|
|
||||||
state_generator.append(R"~~~(
|
state_generator.append(R"~~~(
|
||||||
@state.name@,
|
@state.name@,
|
||||||
)~~~");
|
)~~~");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue