From 996fe3fdce4b44776dedff50eb4d2d02bb2dcff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Stuczy=C5=84ski?= Date: Tue, 13 Jan 2026 17:09:22 +0000 Subject: [PATCH] clippy --- common/nymsphinx/framing/src/processing.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/nymsphinx/framing/src/processing.rs b/common/nymsphinx/framing/src/processing.rs index cb6990895b..e482ad1927 100644 --- a/common/nymsphinx/framing/src/processing.rs +++ b/common/nymsphinx/framing/src/processing.rs @@ -366,6 +366,9 @@ fn split_into_ack_and_message( trace!("received a normal packet!"); cfg_if::cfg_if! { if #[cfg(feature = "no-mix-acks")] { + let _ = packet_type; + let _ = key_rotation; + // AIDEV-NOTE: When no-mix-acks is enabled, skip ack extraction entirely. // The full payload (including ack portion) is returned as the message. Ok((None, data)) @@ -387,6 +390,7 @@ fn split_into_ack_and_message( } } +#[allow(dead_code)] fn split_hop_data_into_ack_and_message( mut extracted_data: Vec, packet_type: PacketType,