Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.53 failed to compile #10

Open
Alkapton opened this issue Sep 4, 2024 · 1 comment
Open

1.53 failed to compile #10

Alkapton opened this issue Sep 4, 2024 · 1 comment

Comments

@Alkapton
Copy link

Alkapton commented Sep 4, 2024

In tools_misc.c around line 2884 there is a for loop that uses uninitialized variable n as counter.

I simply put 'int n;' before the loop and it compiled fine. I guess you could have 'for (int n = 0; n < 6; n++)' instead to limit the scope..

Otherwise, excellent work Sir!!!

@madires
Copy link

madires commented Sep 6, 2024

Thanks for reporting that issue! The 'int n;' was placed inside a #ifdef condition by mistake. Fixed it by moving it out of the #ifdef block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants