summaryrefslogtreecommitdiff
path: root/ros-humble-nav2-waypoint-follower-1.1.9-fix-gcc12-error.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-03-08 15:06:26 +0000
committerCoprDistGit <infra@openeuler.org>2025-03-08 15:06:26 +0000
commit940e96c65c38231e099dc2a1e830afdd3d7b6731 (patch)
tree66ed404b91d6855a556fec02fd4fcb447c54e208 /ros-humble-nav2-waypoint-follower-1.1.9-fix-gcc12-error.patch
parent018c9c0bd02d63107d98d9f33f827ff4d924f0e5 (diff)
automatic import of ros-humble-nav2-waypoint-followeropeneuler24.03_LTS
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",