Skip to content

Commit

Permalink
Remove more redundant TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bjsowa committed May 6, 2024
1 parent 70f40d1 commit 09f4756
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions image_transport/src/camera_publisher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ void CameraPublisher::publish(
const sensor_msgs::msg::CameraInfo::ConstSharedPtr & info) const
{
if (!impl_ || !impl_->isValid()) {
// TODO(ros2) Switch to RCUTILS_ASSERT when ros2/rcutils#112 is merged
auto logger = impl_ ? impl_->logger_ : rclcpp::get_logger("image_transport");
RCLCPP_FATAL(
logger,
Expand All @@ -157,7 +156,6 @@ void CameraPublisher::publish(
sensor_msgs::msg::CameraInfo::UniquePtr info) const
{
if (!impl_ || !impl_->isValid()) {
// TODO(ros2) Switch to RCUTILS_ASSERT when ros2/rcutils#112 is merged
auto logger = impl_ ? impl_->logger_ : rclcpp::get_logger("image_transport");
RCLCPP_FATAL(
logger,
Expand Down

0 comments on commit 09f4756

Please sign in to comment.