From 19b6c74675cbf96cb0118cb13e5279860d182876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= Date: Sat, 12 Mar 2016 13:39:17 +0100 Subject: [PATCH] Two more warnings --- ethcore/src/verification/noop_verifier.rs | 1 + parity/main.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/ethcore/src/verification/noop_verifier.rs b/ethcore/src/verification/noop_verifier.rs index ae2a153fe..20c15c3f1 100644 --- a/ethcore/src/verification/noop_verifier.rs +++ b/ethcore/src/verification/noop_verifier.rs @@ -20,6 +20,7 @@ use error::Error; use header::Header; use super::Verifier; +#[allow(dead_code)] pub struct NoopVerifier; impl Verifier for NoopVerifier { diff --git a/parity/main.rs b/parity/main.rs index 3770fe04d..b16801ad5 100644 --- a/parity/main.rs +++ b/parity/main.rs @@ -394,6 +394,7 @@ impl Configuration { } } + #[cfg_attr(feature="dev", allow(useless_format))] fn execute_client(&self) { // Setup panic handler let panic_handler = PanicHandler::new_in_arc();