Skip to content

Commit aa77231

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

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rclrs/src/dynamic_message.rs

+3
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,14 @@ 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,
62+
#[allow(dead_code)]
6063
fini_function: unsafe extern "C" fn(*mut libc::c_void),
6164
}
6265

0 commit comments

Comments
 (0)