Skip to content

Avoid shadowing local variables #688

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

Merged
merged 1 commit into from
May 15, 2025
Merged

Avoid shadowing local variables #688

merged 1 commit into from
May 15, 2025

Conversation

scotts
Copy link
Contributor

@scotts scotts commented May 15, 2025

The name frameStartTime and frameEndTime are used in lambdas further down in this function. This isn't a correctness issue, so it doesn't fix any behavior, but it is a cleanliness issue and has potential for being a problem later.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 15, 2025
@scotts scotts marked this pull request as ready for review May 15, 2025 15:52
@scotts scotts merged commit 186be2d into pytorch:main May 15, 2025
46 of 47 checks passed
@scotts scotts deleted the avoid_shadow branch May 15, 2025 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants