Skip to content

Commit

Permalink
Silence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
quackzar committed Oct 1, 2024
1 parent a7b2426 commit ce19f6e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions wecare/benches/feldman-25519.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ pub fn build_feldman_engines() -> (blocking::Engine, blocking::Engine) {
(e1, e2)
}


#[allow(unused)]
fn criterion_benchmark(c: &mut Criterion) {
let (mut e1, mut e2) = build_feldman_engines();
let mut group = c.benchmark_group("feldman-25519");
Expand Down
1 change: 1 addition & 0 deletions wecare/benches/shamir-25519.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ pub fn build_shamir_engines() -> (blocking::Engine, blocking::Engine) {
(e1, e2)
}

#[allow(unused)]
fn criterion_benchmark(c: &mut Criterion) {
let (mut e1, mut e2) = build_shamir_engines();
let mut group = c.benchmark_group("shamir-25519");
Expand Down
1 change: 1 addition & 0 deletions wecare/benches/shamir-32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ pub fn build_shamir_engines() -> (blocking::Engine, blocking::Engine) {
(e1, e2)
}

#[allow(unused)]
fn criterion_benchmark(c: &mut Criterion) {
let (mut e1, mut e2) = build_shamir_engines();
let mut group = c.benchmark_group("shamir-32");
Expand Down
1 change: 1 addition & 0 deletions wecare/benches/spdz-25519.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ pub fn build_spdz_engines() -> (blocking::Engine, blocking::Engine) {
(e1, e2)
}

#[allow(unused)]
fn criterion_benchmark(c: &mut Criterion) {
let (mut e1, mut e2) = build_spdz_engines();
let mut group = c.benchmark_group("spdz-25519");
Expand Down
1 change: 1 addition & 0 deletions wecare/benches/spdz-32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ pub fn build_spdz_engines() -> (blocking::Engine, blocking::Engine) {
(e1, e2)
}

#[allow(unused)]
fn criterion_benchmark(c: &mut Criterion) {
let (mut e1, mut e2) = build_spdz_engines();

Expand Down

0 comments on commit ce19f6e

Please sign in to comment.