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

Fixed an explicit initializer to get rid of Qurt compiler warning #28633

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

katzfey
Copy link
Contributor

@katzfey katzfey commented Nov 15, 2024

Added another set of braces to an initializer for a local variable to get rid of the following Qurt compiler warning:

../../libraries/AP_RCProtocol/spm_srxl.cpp:1307:26: warning: suggest braces around initialization of subobject [-Wmissing-braces]
SrxlFullID retVal = {0};
^
{}

@katzfey
Copy link
Contributor Author

katzfey commented Nov 15, 2024

Take a look at PR28643: #28643

If that is a more reasonable way to deal with these compiler warnings then I can close this PR.

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