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

audio_device: Fix unused variable warning #2422

Merged

Conversation

kasjer
Copy link
Collaborator

@kasjer kasjer commented Jan 23, 2024

Describe the PR
In some configurations local variable p_desc_parse_for_params is declared and never used resulting in warning that can be escalated to build error (for mynewt)

Now variable is surrounded with same preprocessor condition as function that uses it audiod_parse_for_AS_params()

In some configurations local variable p_desc_parse_for_params
is declared and never used resulting in warning that can
be escalated to build error (for mynewt)

Now variable is surrounded with same preprocessor condition
as function that uses it audiod_parse_for_AS_params()
@kasjer kasjer requested a review from HiFiPhile January 23, 2024 12:54
@HiFiPhile
Copy link
Collaborator

Thanks, looks good.

@HiFiPhile HiFiPhile merged commit f92c2c2 into hathach:master Jan 23, 2024
49 checks passed
@kasjer kasjer deleted the kasjer/audio_device-fix-unused-param-warning branch February 12, 2024 14: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.

2 participants