-
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
lib: remove duplicated code #32719
lib: remove duplicated code #32719
Conversation
BTW, Do we have rules for something like |
@himself65 I don’t think so, but I think for C++ that might be quite a bit harder to implement than it is for JS, because the constructor/destructor of a variable might be relevant (e.g. However, the compiler will generally emit warnings for unused variables where it can tell that they are useless. |
Ah, btw, the commit message should start with |
oh, I didn't notice that |
PR-URL: nodejs#32719 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
Landed in 1c4b205 |
PR-URL: #32719 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
PR-URL: #32719 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
PR-URL: #32719 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gerhard Stöbich <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Jiawen Geng <[email protected]>
node/src/spawn_sync.cc
Lines 1036 to 1045 in d09e1da
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes