Skip to content

Commit

Permalink
Getting payload value is fixed.
Browse files Browse the repository at this point in the history
Signed-off-by: Franco Cipollone <[email protected]>
  • Loading branch information
francocipollone committed Dec 20, 2023
1 parent ab35a71 commit c39fe0f
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions rmw_zenoh_cpp/src/rmw_zenoh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c39fe0f

Please sign in to comment.