fix warning

This commit is contained in:
Kurt Wilson 2024-11-01 15:37:48 -04:00
parent 153c5a5bda
commit 951d2cc1ef
12 changed files with 1 additions and 3 deletions

0
README.md Normal file → Executable file
View file

0
src/priority_executor/CMakeLists.txt Normal file → Executable file
View file

View file

View file

0
src/priority_executor/package.xml Normal file → Executable file
View file

3
src/priority_executor/src/default_executor.cpp Normal file → Executable file
View file

@ -210,8 +210,7 @@ void ROSDefaultMultithreadedExecutor::spin()
} }
} }
void ROSDefaultMultithreadedExecutor::run(size_t thread_number) void ROSDefaultMultithreadedExecutor::run(__attribute__((unused)) size_t _thread_number) {
{
while (rclcpp::ok(this->context_) && spinning.load()) while (rclcpp::ok(this->context_) && spinning.load())
{ {
rclcpp::AnyExecutable any_exec; rclcpp::AnyExecutable any_exec;

View file

1
src/priority_executor/src/priority_executor.cpp Normal file → Executable file
View file

@ -17,7 +17,6 @@
#include "rclcpp/any_executable.hpp" #include "rclcpp/any_executable.hpp"
#include "rclcpp/scope_exit.hpp" #include "rclcpp/scope_exit.hpp"
#include "rclcpp/utilities.hpp" #include "rclcpp/utilities.hpp"
#include "rclcpp/exceptions.hpp"
#include <memory> #include <memory>
#include <sched.h> #include <sched.h>
// for sleep // for sleep

0
src/priority_executor/src/priority_memory_strategy.cpp Normal file → Executable file
View file

0
src/priority_executor/src/usage_example.cpp Normal file → Executable file
View file