-
Notifications
You must be signed in to change notification settings - Fork 30k
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
quic: fix clang warning #33963
quic: fix clang warning #33963
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe leave a comment here stating that this is supposed to be NGTCP2_ALPN_H3 + 1
but can’t be due to a compiler warning?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or we can just add ignore to the code as it was before as it is IMO clearer.
Updated.
In most cases, clang warning is very helpful. This is the only clang warning in our code base (icu has one in deps to be precise). And this is the first time I know string plus int in C is |
Yeah, I meant to disable\ignore it for this line specifically while adding a comment why it is disabled. |
PR-URL: #33963 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
Landed in 8ef86a9 |
Fix #33959
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes