Skip to content

Commit

Permalink
Add a semicolon to RCUTILS_LOGGING_AUTOINIT. (#816)
Browse files Browse the repository at this point in the history
This makes it look like a C statement.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
  • Loading branch information
clalancette authored Oct 5, 2020
1 parent 6497eb7 commit d746cfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rcl/src/rcl/logging.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d746cfb

Please sign in to comment.