Skip to content

Commit

Permalink
Remove flag behind mutable variable
Browse files Browse the repository at this point in the history
  • Loading branch information
van-sprundel committed Jan 8, 2025
1 parent ff49a8b commit 978b528
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ntp-proto/src/nts_record.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1466,10 +1466,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 => {
Expand Down

0 comments on commit 978b528

Please sign in to comment.