Skip to content

src: squelch -Wunused-variable in non-icu builds#6351

Merged
bnoordhuis merged 1 commit intonodejs:masterfrom
bnoordhuis:squelch-warning
Apr 22, 2016
Merged

src: squelch -Wunused-variable in non-icu builds#6351
bnoordhuis merged 1 commit intonodejs:masterfrom
bnoordhuis:squelch-warning

Conversation

@bnoordhuis
Copy link
Copy Markdown
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
Copy Markdown
Member

jasnell commented Apr 22, 2016

LGTM. Good catch. Thank you

@addaleax
Copy link
Copy Markdown
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 <jasnell@gmail.com>
@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
Copy Markdown
Member Author

Sorry @addaleax, missed your comment.

@addaleax
Copy link
Copy Markdown
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 <jasnell@gmail.com>
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 <jasnell@gmail.com>
@MylesBorins
Copy link
Copy Markdown
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