We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This piece of code:
if (pos >= 0) { for (i = pos; pos >= 0; i--) { switch (prog[i]) {
is flagged by LGTM.com:
Comparison result is always the same Comparison is always true because pos >= 0.
pos >= 0
Indeed, the comparison should probably involve i instead of pos:
i
pos
if (pos >= 0) { for (i = pos; i >= 0; i--) { switch (prog[i]) {
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
This piece of code:
is flagged by LGTM.com:
Indeed, the comparison should probably involve
i
instead ofpos
:The text was updated successfully, but these errors were encountered: