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

bluetooth: scan: Fix warnings when features are disabled #3938

Merged
merged 1 commit into from Feb 26, 2021

Conversation

nordic-krch
Copy link
Contributor

When some features were disabled, there were 0 size arrays being
accessed in the code. That generated warnings during compilation.
Improved functions which checked for feature being enabled to make
compiler aware of the fact that arrays are not accessed.

Signed-off-by: Krzysztof Chruscinski krzysztof.chruscinski@nordicsemi.no

When some features were disabled, there were 0 size arrays being
accessed in the code. That generated warnings during compilation.
Improved functions which checked for feature being enabled to make
compiler aware of the fact that arrays are not accessed.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
@NordicBuilder
Copy link
Contributor

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

@joerchan joerchan merged commit 8c24f1a into nrfconnect:master Feb 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants