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 and ahcorde committed Nov 2, 2020
1 parent 1f7baf2 commit 90ce16d
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 = global_args->impl->log_level;
const char * config_file = global_args->impl->external_log_config_file;
g_rcl_logging_stdout_enabled = !global_args->impl->log_stdout_disabled;
Expand Down

0 comments on commit 90ce16d

Please sign in to comment.