-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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 <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Landed in 8ef86a9 |
Fix #33959
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes