Skip to content

Commit

Permalink
Allow dead code temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
nnmm committed Oct 8, 2022
1 parent 567e782 commit 9dcfb0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rclrs/src/dynamic_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,14 @@ struct MessageTypeName {
/// can be used as a factory to create message instances.
#[derive(Clone)]
pub struct DynamicMessageMetadata {
#[allow(dead_code)]
message_type: MessageTypeName,
// The library needs to be kept loaded in order to keep the type_support_ptr valid.
#[allow(dead_code)]
introspection_type_support_library: Arc<libloading::Library>,
#[allow(dead_code)]
type_support_ptr: *const rosidl_message_type_support_t,
#[allow(dead_code)]
fini_function: unsafe extern "C" fn(*mut libc::c_void),
}

Expand Down

0 comments on commit 9dcfb0e

Please sign in to comment.