allow unused mut when feature disabled

This commit is contained in:
Sebastien La Duca
2022-07-28 00:21:21 -04:00
parent 9f2fa07e12
commit fd0af3fa3e
4 changed files with 5 additions and 1 deletions
+2 -1
View File
@@ -69,7 +69,8 @@ impl<F: RichField + Extendable<D>, const D: usize> SystemZero<F, D> {
}
pub fn generate_trace(&self) -> Vec<PolynomialValues<F>> {
let timing = TimingTree::new("generate trace", log::Level::Debug);
#[allow(unused_mut)]
let mut timing = TimingTree::new("generate trace", log::Level::Debug);
// Generate the witness, except for permuted columns in the lookup argument.
let trace_rows = timed!(