From 0b7bc90cdab5c345cb8fbe2f59a14619def97b16 Mon Sep 17 00:00:00 2001 From: Chris Lalancette Date: Thu, 1 Oct 2020 01:07:43 +0000 Subject: [PATCH] Add a semicolon to RCUTILS_LOGGING_AUTOINIT. This makes it look like a C statement. Signed-off-by: Chris Lalancette --- rcl/src/rcl/logging.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rcl/src/rcl/logging.c b/rcl/src/rcl/logging.c index 9a5315aca..0a3f34384 100644 --- a/rcl/src/rcl/logging.c +++ b/rcl/src/rcl/logging.c @@ -62,8 +62,8 @@ rcl_logging_configure_with_output_handler( RCL_CHECK_ARGUMENT_FOR_NULL(global_args, RCL_RET_INVALID_ARGUMENT); RCL_CHECK_ALLOCATOR_WITH_MSG(allocator, "invalid allocator", return RCL_RET_INVALID_ARGUMENT); RCL_CHECK_ARGUMENT_FOR_NULL(output_handler, RCL_RET_INVALID_ARGUMENT); - RCUTILS_LOGGING_AUTOINIT - g_logging_allocator = *allocator; + RCUTILS_LOGGING_AUTOINIT; + g_logging_allocator = *allocator; int default_level = -1; rcl_log_levels_t * log_levels = &global_args->impl->log_levels; const char * config_file = global_args->impl->external_log_config_file;