Silence warning when building in release

This commit is contained in:
Luke Parker 2023-08-27 15:39:09 -04:00
parent a66994aade
commit 89a6ee9290
No known key found for this signature in database

View file

@ -192,6 +192,8 @@ impl WipStatement {
witness: WipWitness, witness: WipWitness,
) -> Option<WipProof> { ) -> Option<WipProof> {
let WipStatement { generators, P, mut y } = self; let WipStatement { generators, P, mut y } = self;
#[cfg(not(debug_assertions))]
let _ = P;
if generators.len() != witness.a.len() { if generators.len() != witness.a.len() {
return None; return None;