Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Quiet clang memory leak warning on "DoNotOptimize". (#1571)
When building rclcpp under clang static analysis, it complains that the "DoNotOptimize" function from Google benchmark can cause a memory leak. I can't see how this is possible, so I can only assume that the inline assembly that is used to implement "DoNotOptimize" is causing a false positive. Just quite the warning here when building under clang static analysis. Signed-off-by: Chris Lalancette <[email protected]>
- Loading branch information