Skip to content

Commit 488d54e

Browse files
clalancetteahcorde
authored andcommitted
Add a semicolon to RCUTILS_LOGGING_AUTOINIT. (#816)
This makes it look like a C statement. Signed-off-by: Chris Lalancette <[email protected]>
1 parent caf3a16 commit 488d54e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rcl/src/rcl/logging.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ rcl_logging_configure_with_output_handler(
6262
RCL_CHECK_ARGUMENT_FOR_NULL(global_args, RCL_RET_INVALID_ARGUMENT);
6363
RCL_CHECK_ALLOCATOR_WITH_MSG(allocator, "invalid allocator", return RCL_RET_INVALID_ARGUMENT);
6464
RCL_CHECK_ARGUMENT_FOR_NULL(output_handler, RCL_RET_INVALID_ARGUMENT);
65-
RCUTILS_LOGGING_AUTOINIT
66-
g_logging_allocator = *allocator;
65+
RCUTILS_LOGGING_AUTOINIT;
66+
g_logging_allocator = *allocator;
6767
int default_level = global_args->impl->log_level;
6868
const char * config_file = global_args->impl->external_log_config_file;
6969
g_rcl_logging_stdout_enabled = !global_args->impl->log_stdout_disabled;

0 commit comments

Comments
 (0)