FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

http: Remove an unnecessary assignment by gigabo · Pull Request #4323 · nodejs/node · GitHub

/ node Public

http: Remove an unnecessary assignment - #4323

Closed
gigabo wants to merge 1 commit into
nodejs:masterfrom
gigabo:cleanup
Closed

http: Remove an unnecessary assignment#4323
gigabo wants to merge 1 commit into
nodejs:masterfrom
gigabo:cleanup

Conversation

gigabo commented Dec 17, 2015

Copy link
Copy Markdown
Contributor

This just removes an assignment to ret of a value that's not used before
it's overwritten. Immediately following the assigment is an if/else in
which both branches assign to ret without using it.

This just removes an assignment to `ret` of a value that's not used before
it's overwritten.  Immediately following the assigment is an `if/else` in
which both branches assign to `ret` without using it.

jasnell commented Dec 17, 2015

Copy link
Copy Markdown
Member

LGTM

jasnell added http Issues or PRs related to the http subsystem. lts-watch-v4.x labels Dec 17, 2015

cjihrig commented Dec 17, 2015

Copy link
Copy Markdown
Contributor

LGTM

1 similar comment

mscdex commented Dec 17, 2015

Copy link
Copy Markdown
Contributor

LGTM

cjihrig commented Dec 17, 2015

Copy link
Copy Markdown
Contributor

jasnell commented Dec 17, 2015

Copy link
Copy Markdown
Member

Failures in CI look unrelated.

jasnell pushed a commit that referenced this pull request Dec 17, 2015
This just removes an assignment to `ret` of a value that's not used before
it's overwritten.  Immediately following the assigment is an `if/else` in
which both branches assign to `ret` without using it.

PR-URL: #4323
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>

jasnell commented Dec 17, 2015

Copy link
Copy Markdown
Member

Landed in 88de88b

jasnell closed this Dec 17, 2015
jasnell mentioned this pull request Dec 17, 2015
Fishrock123 pushed a commit to Fishrock123/node that referenced this pull request Dec 22, 2015
This just removes an assignment to `ret` of a value that's not used before
it's overwritten.  Immediately following the assigment is an `if/else` in
which both branches assign to `ret` without using it.

PR-URL: nodejs#4323
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>

rvagg commented Jan 4, 2016

Copy link
Copy Markdown
Member

Thanks for this @gigabo, I believe this is your first commit to core and even though the change is trivial we appreciate the attention to detail! Welcome on board, we hope you stick around and can find other ways to contribute.

Fishrock123 pushed a commit to Fishrock123/node that referenced this pull request Jan 6, 2016
This just removes an assignment to `ret` of a value that's not used before
it's overwritten.  Immediately following the assigment is an `if/else` in
which both branches assign to `ret` without using it.

PR-URL: nodejs#4323
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Jan 13, 2016
This just removes an assignment to `ret` of a value that's not used before
it's overwritten.  Immediately following the assigment is an `if/else` in
which both branches assign to `ret` without using it.

PR-URL: #4323
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Jan 19, 2016
This just removes an assignment to `ret` of a value that's not used before
it's overwritten.  Immediately following the assigment is an `if/else` in
which both branches assign to `ret` without using it.

PR-URL: #4323
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins mentioned this pull request Jan 19, 2016
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
This just removes an assignment to `ret` of a value that's not used before
it's overwritten.  Immediately following the assigment is an `if/else` in
which both branches assign to `ret` without using it.

PR-URL: nodejs#4323
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

http Issues or PRs related to the http subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants


Back | FazBrowse Home | New Git URL