Skip to content

Commit

Permalink
chore: comment out the unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanYuYuan committed Dec 10, 2024
1 parent a442bc7 commit 5d19984
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rmw_zenoh_cpp/src/detail/rmw_publisher_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ std::shared_ptr<PublisherData> 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<const message_type_support_callbacks_t *>(type_support->data);
Expand Down
2 changes: 1 addition & 1 deletion rmw_zenoh_cpp/src/detail/rmw_service_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ std::shared_ptr<ServiceData> 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<const service_type_support_callbacks_t *>(type_support->data);
Expand Down
2 changes: 1 addition & 1 deletion rmw_zenoh_cpp/src/detail/rmw_subscription_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ std::shared_ptr<SubscriptionData> 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<const message_type_support_callbacks_t *>(type_support->data);
Expand Down

0 comments on commit 5d19984

Please sign in to comment.