From 24c5e1a2f5b9510522d47af09bc84cf19707bea1 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Fri, 13 Jul 2018 15:40:06 +1000 Subject: [PATCH] Fix warnings warnings --- src/state/transition/crosslinks.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/state/transition/crosslinks.rs b/src/state/transition/crosslinks.rs index e05111ff4..c5f969b15 100644 --- a/src/state/transition/crosslinks.rs +++ b/src/state/transition/crosslinks.rs @@ -123,7 +123,7 @@ mod tests { let validators: u16 = 10; - let c = get_crosslink_shards_count( + let _ = get_crosslink_shards_count( &(validators as usize), &config); } @@ -179,7 +179,7 @@ mod tests { ValidatorRecord::zero_with_thread_rand_pub_key())); cry_state.next_shard = 6; - let c = get_crosslink_shards( + let _ = get_crosslink_shards( &cry_state, &config); }