Two more warnings

This commit is contained in:
Tomasz Drwięga 2016-03-12 13:39:17 +01:00
parent c6dc6c0c41
commit 19b6c74675
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ use error::Error;
use header::Header;
use super::Verifier;
#[allow(dead_code)]
pub struct NoopVerifier;
impl Verifier for NoopVerifier {

View File

@ -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();