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

src: remove redundant if block by kkty · Pull Request #25304 · nodejs/node · GitHub

/ node Public

src: remove redundant if block - #25304

Closed
kkty wants to merge 1 commit into
nodejs:masterfrom
kkty:remove-redundant-if-block
Closed

src: remove redundant if block#25304
kkty wants to merge 1 commit into
nodejs:masterfrom
kkty:remove-redundant-if-block

Conversation

kkty commented Jan 1, 2019

Copy link
Copy Markdown
Contributor

void LoadEnvironment(Environment* env) had a redundant if block at
the end of the function.

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

nodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label Jan 1, 2019
Comment thread src/node.cc Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I think this can all fit on one line now?

kkty Jan 1, 2019
edited
Loading

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@mscdex Thank you for pointing that out. I updated PR.

`void LoadEnvironment(Environment* env)` had a redundant if block at
the end of the function.
kkty force-pushed the remove-redundant-if-block branch from a15ff06 to 97a22a9 Compare January 1, 2019 21:31

addaleax commented Jan 7, 2019

Copy link
Copy Markdown
Member

@kkty This would need a rebase, but I’m not sure that it still applies to the current code?

kkty commented Jan 8, 2019

Copy link
Copy Markdown
Contributor Author

@addaleax It seems that this change is no longer necessary thanks to #25320.
I will close this issue.

kkty closed this Jan 8, 2019
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

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.

7 participants


Back | FazBrowse Home | New Git URL