Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

delete a couple of redundant lines #13003

Merged
merged 1 commit into from
Jun 9, 2018
Merged

delete a couple of redundant lines #13003

merged 1 commit into from
Jun 9, 2018

Conversation

nateq314
Copy link
Contributor

@nateq314 nateq314 commented Jun 8, 2018

By definition root.finishedWork must already be null at the point that either of these lines are executed. The immediately preceding if blocks ensure it. So no need to set to null.

@gaearon
Copy link
Collaborator

gaearon commented Jun 9, 2018

Yeah, this definitely looks unnecessary.

@gaearon gaearon merged commit bfb12eb into facebook:master Jun 9, 2018
@nateq314 nateq314 deleted the 20180608-01 branch June 9, 2018 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants