-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
src: use CHECK(false) in switch default case #26502
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
Conversation
|
Thanks! I just updated the branch as per @bnoordhuis 's suggestion. Please let me know if this approach works. |
|
Maybe the build is failing on gcc4.9 due to https://github.com/nodejs/node/blob/master/src/node_file.h#L151-L156 ? 🤔 |
|
|
|
@bnoordhuis, it'll be great if you can please take a quick look at the changes. |
|
Please let me know if there's something blocking here. Happy to make needed changes. :-) |
1 similar comment
|
Sorry this took so long! Landed in 00ba75e 🎉 |
PR-URL: #26502 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
PR-URL: #26502 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
Passing a !string to
CHECKwill trigger a string conversion warning and it's also inconsistent with the usage in other places. Hence, this changes it toCHECK(false)making it consistent.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes