diff --git a/image_publisher/src/image_publisher.cpp b/image_publisher/src/image_publisher.cpp index 7d7dd8f5c..0b8a47f20 100644 --- a/image_publisher/src/image_publisher.cpp +++ b/image_publisher/src/image_publisher.cpp @@ -108,8 +108,7 @@ ImagePublisher::ImagePublisher( if (call_reconfigure && !call_init) { ImagePublisher::reconfigureCallback(); - } - else if (call_init) + } else if (call_init) { ImagePublisher::onInit(); }