Skip to content

Commit

Permalink
Fix -Wmaybe-uninitialized for clang
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Jun 8, 2024
1 parent 16f7878 commit 944ac8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions moveit_py/src/moveit/moveit_core/robot_state/robot_state.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#pragma GCC diagnostic push
#if defined(__GNUC__) && !defined(__clang__)
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
#endif
#include <pybind11/eigen.h>
#pragma GCC diagnostic pop
#include <moveit_py/moveit_py_utils/copy_ros_msg.h>
Expand Down

0 comments on commit 944ac8d

Please sign in to comment.