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

‘error_level’ may be used uninitialized #337

Closed
Timple opened this issue Mar 25, 2024 · 1 comment
Closed

‘error_level’ may be used uninitialized #337

Timple opened this issue Mar 25, 2024 · 1 comment

Comments

@Timple
Copy link
Contributor

Timple commented Mar 25, 2024

/opt/ros/rolling/include/diagnostic_updater/diagnostic_status_wrapper.hpp:92:11: error: ‘error_level’ may be used uninitialized [-Werror=maybe-uninitialized]
   92 |     level = lvl;
      |     ~~~~~~^~~~~
@Timple
Copy link
Contributor Author

Timple commented Apr 10, 2024

My bad, the calling code was the issue.

@Timple Timple closed this as completed Apr 10, 2024
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

No branches or pull requests

1 participant