Skip to content

Conversation

@marcosc90
Copy link
Contributor

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

Removed unreachable code. In line 511, state.ended is set to true. So process.nextTick(emitReadable_, stream); can't be reached.

Remove unreachable code. `state.ended` is always set to true in this part of the code. The `else` clause can't be executed.
@nodejs-github-botnodejs-github-bot added the stream Issues and PRs related to the stream subsystem. label Apr 7, 2019
@addaleaxaddaleax requested a review from mcollinaApril 7, 2019 20:45
Copy link
Member

@mcollinamcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with green CITGM

@nodejs-github-bot
Copy link
Collaborator

@ZYSzysZYSzys added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 8, 2019
BridgeAR pushed a commit to BridgeAR/node that referenced this pull request Apr 10, 2019
Remove unreachable code. `state.ended` is always set to true in this part of the code. The `else` clause can't be executed. PR-URL: nodejs#27125 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
@BridgeAR
Copy link
Member

Landed in 1a67c99 🎉

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.streamIssues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@marcosc90@nodejs-github-bot@BridgeAR@mcollina@jasnell@addaleax@cjihrig@tniessen@ZYSzys