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

core: reduce scope of effectiveTip related variables #30483

Closed
wants to merge 1 commit into from

Conversation

zhiqiangxu
Copy link
Contributor

These variables are only referenced in the else branch.

@rjl493456442
Copy link
Member

Check out the comments here #30408

Thanks for your contribution anyway!

@zhiqiangxu
Copy link
Contributor Author

zhiqiangxu commented Sep 21, 2024

@rjl493456442 Though the performance optimization is negligible, I think it improves read ability. Otherwise someone may spot the same problem again in future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants