mirror of
https://github.com/serai-dex/serai.git
synced 2025-01-10 21:04:40 +00:00
Silence warning when building in release
This commit is contained in:
parent
a66994aade
commit
89a6ee9290
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue