ros / diagnostics

Packages related to gathering, viewing, and analyzing diagnostics data from robots.
https://index.ros.org/p/diagnostics/
Other
85 stars 173 forks source link

‘error_level’ may be used uninitialized #337

Closed Timple closed 2 months ago

Timple commented 3 months ago
/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 commented 2 months ago

My bad, the calling code was the issue.