-
Notifications
You must be signed in to change notification settings - Fork 30.2k
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: fix unused private field warning #28036
Conversation
CI: https://ci.nodejs.org/job/node-test-pull-request/23589/ EDIT(cjihrig): CI was yellow. |
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.
LGTM. Is the explicit related to the _env fix?
Yes. After removing the unused constructor argument, you get the following warning: Zero-parameter constructors should not be marked explicit. |
Could we fast track this? If you agree please give a 👍 and if you disagree please remove the |
Landed in 2c76874. |
PR-URL: #28036 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
PR-URL: #28036 Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Removed in nodejs/node#28036; this patch can be removed when we update to v12.5.0
Removed in nodejs/node#28036; this patch can be removed when we update to v12.5.0
Removed in nodejs/node#28036; this patch can be removed when we update to v12.5.0
This fixes the following warning (and subsequent warnings that occurred from fixing the original warning):
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes