From c39fe0f26241c48739edbd4c5c84442bd9da1cd8 Mon Sep 17 00:00:00 2001 From: Franco Cipollone Date: Wed, 20 Dec 2023 09:02:06 -0300 Subject: [PATCH] Getting payload value is fixed. Signed-off-by: Franco Cipollone --- rmw_zenoh_cpp/src/rmw_zenoh.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/rmw_zenoh_cpp/src/rmw_zenoh.cpp b/rmw_zenoh_cpp/src/rmw_zenoh.cpp index dfd90d35..a378e8bb 100644 --- a/rmw_zenoh_cpp/src/rmw_zenoh.cpp +++ b/rmw_zenoh_cpp/src/rmw_zenoh.cpp @@ -2393,15 +2393,7 @@ rmw_take_request( return RMW_RET_ERROR; } const z_query_t z_loaned_query = z_query_loan(owned_query_ptr); - - // TODO(francocipollone): Fix this. - // We are getting a segmentation fault here at z_query_value call. - // (Replicable at the zenoh-c examples.) - #if false z_value_t payload_value = z_query_value(&z_loaned_query); - #else - z_value_t payload_value = z_value_t{}; // dummy value while this is not fixed. - #endif // Object that manages the raw buffer eprosima::fastcdr::FastBuffer fastbuffer(