diff --git a/src/message.rs b/src/message.rs index 3e71ec5..f9750bc 100644 --- a/src/message.rs +++ b/src/message.rs @@ -110,7 +110,7 @@ pub trait MessageType { pub struct Can20 {} impl MessageType for Can20 { - fn setup_header(&self, header: &mut TxHeader, payload_length: usize) -> Result<(), MessageError> { + fn setup_header(&self, _header: &mut TxHeader, payload_length: usize) -> Result<(), MessageError> { if L > 8 || payload_length > 8 { let max = payload_length.max(L); debug!("Maximum of 64 bytes allowed. Current size: {max} bytes");