summaryrefslogtreecommitdiff
path: root/ros-humble-nav2-waypoint-follower-1.1.9-fix-gcc12-error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ros-humble-nav2-waypoint-follower-1.1.9-fix-gcc12-error.patch')
-rw-r--r--ros-humble-nav2-waypoint-follower-1.1.9-fix-gcc12-error.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/ros-humble-nav2-waypoint-follower-1.1.9-fix-gcc12-error.patch b/ros-humble-nav2-waypoint-follower-1.1.9-fix-gcc12-error.patch
new file mode 100644
index 0000000..7f6b766
--- /dev/null
+++ b/ros-humble-nav2-waypoint-follower-1.1.9-fix-gcc12-error.patch
@@ -0,0 +1,12 @@
+diff -Naur ros-humble-nav2-waypoint-follower-1.1.9_org/plugins/input_at_waypoint.cpp ros-humble-nav2-waypoint-follower-1.1.9/plugins/input_at_waypoint.cpp
+--- ros-humble-nav2-waypoint-follower-1.1.9_org/plugins/input_at_waypoint.cpp 2023-09-11 16:38:47.194459880 +0800
++++ ros-humble-nav2-waypoint-follower-1.1.9/plugins/input_at_waypoint.cpp 2023-09-11 16:39:58.863509758 +0800
+@@ -49,7 +49,7 @@
+ logger_ = node->get_logger();
+ clock_ = node->get_clock();
+
+- double timeout;
++ double timeout = 0.0;
+ std::string input_topic;
+ nav2_util::declare_parameter_if_not_declared(
+ node, plugin_name + ".timeout",