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

CodeQL Warning: Comparison result is always the same #74

Open
nibanks opened this issue Dec 27, 2024 · 0 comments
Open

CodeQL Warning: Comparison result is always the same #74

nibanks opened this issue Dec 27, 2024 · 0 comments

Comments

@nibanks
Copy link
Contributor

nibanks commented Dec 27, 2024

FYI, I ran CodeQL on msh3, which submodules ls-qpack, and it gave the warning:

Comparison is always true because seen_nameval <= -1.

&& (seen_nameval < 0 ? (seen_nameval

This is because seen_nameval is always -1 (set a few lines above).

litespeedtech pushed a commit that referenced this issue Dec 27, 2024
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

1 participant