fix some warnings
This commit is contained in:
parent
153c5a5bda
commit
f43d2d6706
2 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue