Skip to content

Commit 06693c3

Browse files
committed
Fix leftover logging autoinit
Signed-off-by: David Laseca Perez <davidlaseca@eprosima.com>
1 parent 9309c1c commit 06693c3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎rcl/src/rcl/init.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ rcl_init(
8181
rcl_allocator_t allocator = options->impl->allocator;
8282
RCL_CHECK_ALLOCATOR(&allocator, return RCL_RET_INVALID_ARGUMENT);
8383
RCL_CHECK_ARGUMENT_FOR_NULL(context, RCL_RET_INVALID_ARGUMENT);
84+
#ifdef RCL_MICROROS_COMPLETE_IMPL
8485
RCUTILS_LOGGING_AUTOINIT_WITH_ALLOCATOR(allocator);
86+
#endif // RCL_MICROROS_COMPLETE_IMPL
8587

8688
RCUTILS_LOG_DEBUG_NAMED(
8789
ROS_PACKAGE_NAME,

0 commit comments

Comments
 (0)