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: squelch -Wunused-variable in non-icu builds #6351

Merged
merged 1 commit into from
Apr 22, 2016

Conversation

bnoordhuis
Copy link
Member

@bnoordhuis bnoordhuis commented Apr 22, 2016

@bnoordhuis bnoordhuis added the lib / src Issues and PRs related to general changes in the lib or src directory. label Apr 22, 2016
@nodejs-github-bot nodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label Apr 22, 2016
@jasnell
Copy link
Member

jasnell commented Apr 22, 2016

LGTM. Good catch. Thank you

@addaleax
Copy link
Member

LGTM

Silence the following compiler warning when building without ICU:

    ../src/node_config.cc:32:16: warning: unused variable 'env'
    [-Wunused-variable]
       Environment* env = Environment::GetCurrent(context);

PR-URL: nodejs#6351
Reviewed-By: James M Snell <[email protected]>
@bnoordhuis bnoordhuis closed this Apr 22, 2016
@bnoordhuis bnoordhuis deleted the squelch-warning branch April 22, 2016 21:03
@bnoordhuis bnoordhuis merged commit 5eb4ec0 into nodejs:master Apr 22, 2016
@bnoordhuis
Copy link
Member Author

Sorry @addaleax, missed your comment.

@addaleax
Copy link
Member

@bnoordhuis nevermind :)

joelostrowski pushed a commit to joelostrowski/node that referenced this pull request Apr 25, 2016
Silence the following compiler warning when building without ICU:

    ../src/node_config.cc:32:16: warning: unused variable 'env'
    [-Wunused-variable]
       Environment* env = Environment::GetCurrent(context);

PR-URL: nodejs#6351
Reviewed-By: James M Snell <[email protected]>
jasnell pushed a commit that referenced this pull request Apr 26, 2016
Silence the following compiler warning when building without ICU:

    ../src/node_config.cc:32:16: warning: unused variable 'env'
    [-Wunused-variable]
       Environment* env = Environment::GetCurrent(context);

PR-URL: #6351
Reviewed-By: James M Snell <[email protected]>
@MylesBorins
Copy link
Contributor

Marking as don't land for now... please update if I am incorrect and it should be backported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants