compiler
compiler copied to clipboard
Warning 250 false positive
Issue description:
It seems that all loop condition variables are checked for modifications, even when there are two compared to each other. I noticed this in a warning in y_areas:
https://github.com/pawn-lang/YSI-Includes/blob/5c2eafe471ae66c91e2c00eefa417f3f28796af5/YSI_Visual/y_areas/y_areas_entry.inc#L1661
This gives a warning that size
is not modified in the loop body. That's true, but done
is, and as long as at least one of them is there shouldn't be a warning.
@Daniel-Cortez
Workspace Information:
- Compiler version:
- Command line arguments provided (or sampctl version):
- Operating System:
That's strange, normally it should be warning 251 when there are 2 or more variables used in the loop condition. I'll look into it.
This issue has been automatically marked as stale because it has not had recent activity.