Skip to content

Commit bb90e6f

Browse files
committed
Allow dead code temporarily
1 parent f6ca45b commit bb90e6f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rclrs/src/dynamic_message.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,15 @@ struct MessageTypeName {
5252
/// can be used as a factory to create message instances.
5353
#[derive(Clone)]
5454
pub struct DynamicMessageMetadata {
55+
#[allow(dead_code)]
5556
message_type: MessageTypeName,
5657
// The library needs to be kept loaded in order to keep the type_support_ptr valid.
5758
#[allow(dead_code)]
5859
introspection_type_support_library: Arc<libloading::Library>,
60+
#[allow(dead_code)]
5961
type_support_ptr: *const rosidl_message_type_support_t,
60-
fini_function: unsafe extern "C" fn(*mut libc::c_void),
62+
#[allow(dead_code)]
63+
fini_function: unsafe extern "C" fn(*mut std::os::raw::c_void),
6164
}
6265

6366
// ========================= impl for DynamicMessagePackage =========================

0 commit comments

Comments
 (0)