From 7f66c7b6183620d29fc6ab54d2b52478ee35e470 Mon Sep 17 00:00:00 2001 From: van-sprundel Date: Sun, 13 Oct 2024 13:47:43 +0200 Subject: [PATCH] Remove flag behind mutable variable --- ntp-proto/src/nts_record.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/ntp-proto/src/nts_record.rs b/ntp-proto/src/nts_record.rs index 297631166..2ad1eb432 100644 --- a/ntp-proto/src/nts_record.rs +++ b/ntp-proto/src/nts_record.rs @@ -1444,10 +1444,7 @@ impl KeyExchangeServerDecoder { #[cfg(feature = "nts-pool")] use NtsRecord::{FixedKeyRequest, KeepAlive, NtpServerDeny, SupportedAlgorithmList}; - #[cfg(feature = "nts-pool")] let mut state = self; - #[cfg(not(feature = "nts-pool"))] - let state = self; match record { EndOfMessage => {