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

Remove dead variable stores #29182

Merged
merged 2 commits into from
Jan 29, 2025
Merged

Conversation

peterbarker
Copy link
Contributor

panic doesn't return, so pga is unused.

SIM_Helicopter changes moves a variable declaration closer to the assignments to make it clear that it assigned to. It's also not hard to see rpm_dot is always assigned to.

@peterbarker peterbarker merged commit 99aff5f into ArduPilot:master Jan 29, 2025
100 checks passed
@peterbarker peterbarker deleted the pr/dead-stores branch January 29, 2025 21:57
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.

1 participant