suppress warning: unused variable: recycler

This commit is contained in:
Michael Vines
2018-09-20 18:57:06 -07:00
committed by Grimes
parent 67f1fbab5f
commit beeb09646a

View File

@ -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(