mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 16:57:46 +08:00
Fixed all -Werror=format-security
This commit is contained in:
@@ -88,7 +88,7 @@ private:
|
||||
|
||||
if(ros::Time::now().toSec()-lastCallbackCalledStamp_ >= 5 && !topicsNotReceivedWarningMsg_.empty())
|
||||
{
|
||||
ROS_WARN_THROTTLE(5, topicsNotReceivedWarningMsg_.c_str());
|
||||
ROS_WARN_THROTTLE(5, "%s", topicsNotReceivedWarningMsg_.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user