diff --git a/rmw_zenoh_cpp/src/detail/rmw_publisher_data.cpp b/rmw_zenoh_cpp/src/detail/rmw_publisher_data.cpp index 19ac1f76..bb1cac66 100644 --- a/rmw_zenoh_cpp/src/detail/rmw_publisher_data.cpp +++ b/rmw_zenoh_cpp/src/detail/rmw_publisher_data.cpp @@ -58,7 +58,7 @@ std::shared_ptr PublisherData::make( return nullptr; } - rcutils_allocator_t * allocator = &node->context->options.allocator; + // rcutils_allocator_t * allocator = &node->context->options.allocator; // const rosidl_type_hash_t * type_hash = type_support->get_type_hash_func(type_support); auto callbacks = static_cast(type_support->data); diff --git a/rmw_zenoh_cpp/src/detail/rmw_service_data.cpp b/rmw_zenoh_cpp/src/detail/rmw_service_data.cpp index afac1366..8bb01f1a 100644 --- a/rmw_zenoh_cpp/src/detail/rmw_service_data.cpp +++ b/rmw_zenoh_cpp/src/detail/rmw_service_data.cpp @@ -83,7 +83,7 @@ std::shared_ptr ServiceData::make( return nullptr; } - rcutils_allocator_t * allocator = &node->context->options.allocator; + // rcutils_allocator_t * allocator = &node->context->options.allocator; // const rosidl_type_hash_t * type_hash = type_support->get_type_hash_func(type_support); auto service_members = static_cast(type_support->data); diff --git a/rmw_zenoh_cpp/src/detail/rmw_subscription_data.cpp b/rmw_zenoh_cpp/src/detail/rmw_subscription_data.cpp index 96cf674a..d30d3e43 100644 --- a/rmw_zenoh_cpp/src/detail/rmw_subscription_data.cpp +++ b/rmw_zenoh_cpp/src/detail/rmw_subscription_data.cpp @@ -111,7 +111,7 @@ std::shared_ptr SubscriptionData::make( return nullptr; } - rcutils_allocator_t * allocator = &node->context->options.allocator; + // rcutils_allocator_t * allocator = &node->context->options.allocator; // const rosidl_type_hash_t * type_hash = type_support->get_type_hash_func(type_support); auto callbacks = static_cast(type_support->data);