-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
src: remove unused Converter object #26243
Conversation
@@ -204,7 +204,6 @@ class ConverterObject : public BaseObject, Converter { | |||
|
|||
CHECK_GE(args.Length(), 3); // Converter, Buffer, Flags | |||
|
|||
Converter utf8("utf8"); |
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.
I guess this has the side effect of verifying that ICU is in a sane state? It'll CHECK when ucnv_open() fails.
But if that's the reason why it's there, it really could use an explaining comment. cc @jasnell.
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.
I assumed (and still do) that this is a leftover from when this code was written, tbh.
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.
I think @addaleax is right
Landed in 7f8010b |
PR-URL: #26243 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
PR-URL: #26243 Reviewed-By: Ben Noordhuis <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes