Skip to content

Conversation

@sam-github
Copy link
Contributor

g++ 8.2 reports warning:

outstream may be used uninitialized in this function [-Wmaybe-uninitialized]

It's wrong, but initialize the variable anyhow to silence the warning.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

g++ 8.2 reports warning:

  outstream may be used uninitialized in this function [-Wmaybe-uninitialized]

It's wrong, but initialize the variable anyhow to silence the warning.
@nodejs-github-bot
Copy link
Collaborator

@sam-github sadly an error occured when I tried to trigger a build :(

@nodejs-github-bot nodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label Feb 24, 2019
@cjihrig
Copy link
Contributor

cjihrig commented Feb 24, 2019

Duplicate of #26265?

@sam-github
Copy link
Contributor Author

It is.

@sam-github sam-github closed this Feb 24, 2019
@sam-github sam-github deleted the fix-nodereport-uninit-warning branch February 24, 2019 19:06
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++.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants