Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

cppcheck warning nullPointer in rclcpp clock.cpp #172

Closed
dirk-thomas opened this issue Mar 4, 2019 · 1 comment
Closed

cppcheck warning nullPointer in rclcpp clock.cpp #172

dirk-thomas opened this issue Mar 4, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dirk-thomas
Copy link
Member

dirk-thomas commented Mar 4, 2019

After updating the cppcheck version this new warning appeared (https://ci.ros2.org/view/nightly/job/nightly_win_extra_rmw_rel/278/testReport/rclcpp/cppcheck/warning__nullPointer__src_rclcpp_clock_cpp_139_/):

rclcpp.cppcheck.warning: nullPointer (src\rclcpp\clock.cpp:139)
Possible null pointer dereference: handler

Same on macOS: https://ci.ros2.org/view/nightly/job/nightly_osx_extra_rmw_release/313/testReport/rclcpp/cppcheck/warning__nullPointer__src_rclcpp_clock_cpp_139_/

Just for the record: #168.

@sloretz
Copy link

sloretz commented Mar 4, 2019

fixed by #646

@sloretz sloretz closed this as completed Mar 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants