rplidar_ros:ros2
编译时有个警告,有数组访问越界的风险
There is a warning when compiling, there is a risk of array access out of bounds
rplidar_ros/sdk/src/sl_lidar_driver.cpp:178:31: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 178 | for (i = count - 1; i >= 0; i--) { |
rplidar_ros:ros2 编译时有个警告,有数组访问越界的风险 There is a warning when compiling, there is a risk of array access out of bounds
rplidar_ros/sdk/src/sl_lidar_driver.cpp:178:31: warning: comparison of unsigned expression in ‘>= 0’ is always true [-Wtype-limits] 178 | for (i = count - 1; i >= 0; i--) { |