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

global: Change the IF statement to a SWITCH statement #23061

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

muramura
Copy link
Contributor

Solved Problem

The same variable was being determined by multiple IF statements.

Solution

Change to SWITCH statement.

Changelog Entry

None

Alternatives

None

Test coverage

None

Context

None

@muramura muramura force-pushed the PX4_Change_the_IF_statement_to_a_SWITCH_statement-1 branch from 7fcbe88 to ca72db3 Compare April 26, 2024 22:43
@muramura muramura force-pushed the PX4_Change_the_IF_statement_to_a_SWITCH_statement-1 branch from ca72db3 to bdee94c Compare April 26, 2024 23:18
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.

None yet

1 participant