★ wanayoo — archive 1999 https://github.com/nodejs/node/pull/24717Nouvelle recherche | Portail wanayoo
Skip to content
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 variables node_util.cc #24717

Closed
wants to merge 1 commit into from

Conversation

Copy link
Member

@danbev danbev commented Nov 29, 2018

Currently the following warnings are generated:

../src/node_util.cc:59:16: warning: unused variable 'env' [-Wunused-variable]
  Environment* env = Environment::GetCurrent(args);
               ^
../src/node_util.cc:78:16: warning: unused variable 'env' [-Wunused-variable]
  Environment* env = Environment::GetCurrent(args);
               ^
2 warnings generated.

This commit removes these unused variables.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Currently the following warnings are generated:
../src/node_util.cc:59:16: warning: unused variable 'env' [-Wunused-variable]
  Environment* env = Environment::GetCurrent(args);
               ^
../src/node_util.cc:78:16: warning: unused variable 'env' [-Wunused-variable]
  Environment* env = Environment::GetCurrent(args);
               ^
2 warnings generated.

This commit removes these unused variables.
@nodejs-github-bot nodejs-github-bot added c++ util labels Nov 29, 2018
@Trott
Copy link
Member

@Trott Trott commented Nov 29, 2018

@Trott Trott added the author ready label Nov 29, 2018
@Trott
Copy link
Member

@Trott Trott commented Nov 29, 2018

Collaborators, 👍 to fast-track.

@Trott Trott added the fast-track label Nov 29, 2018
@lpinca
Copy link
Member

@lpinca lpinca commented Nov 29, 2018

I think there is a typo in commit title (missing "in").

@Trott
Copy link
Member

@Trott Trott commented Nov 30, 2018

Landed in 171b810

@Trott Trott closed this Nov 30, 2018
Trott pushed a commit to Trott/io.js that referenced this issue Nov 30, 2018
Currently two warnings are generated regarding unused variables.
This commit removes the unused variables.

PR-URL: nodejs#24717
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@danbev danbev deleted the node_util_warning branch Dec 4, 2018
BridgeAR pushed a commit that referenced this issue Dec 5, 2018
Currently two warnings are generated regarding unused variables.
This commit removes the unused variables.

PR-URL: #24717
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@BridgeAR BridgeAR mentioned this pull request Dec 5, 2018
4 tasks
refack pushed a commit to refack/node that referenced this issue Jan 14, 2019
Currently two warnings are generated regarding unused variables.
This commit removes the unused variables.

PR-URL: nodejs#24717
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready c++ fast-track util
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

9 participants