diff --git a/src/window.rs b/src/window.rs index 4932e18ca1..e2f0591bc3 100644 --- a/src/window.rs +++ b/src/window.rs @@ -230,6 +230,11 @@ impl WindowUtil for Window { self[w].leader_unknown = leader_unknown; *pending_retransmits = true; + #[cfg(not(feature = "erasure"))] + { + // suppress warning: unused variable: `recycler` + let _ = recycler; + } #[cfg(feature = "erasure")] { if erasure::recover(