Remove dead code

This commit is contained in:
Matthias Beyer 2015-12-30 22:47:28 +01:00
parent a2856d8671
commit 37f3c90914
3 changed files with 1 additions and 9 deletions

View file

@ -30,7 +30,7 @@ fn main() {
let app = App::from_yaml(yaml); let app = App::from_yaml(yaml);
let config = CliConfig::new(app); let config = CliConfig::new(app);
let configuration = Configuration::new(&config); let configuration = Configuration::new(&config);
let logger = ImagLogger::init(&configuration, &config); ImagLogger::init(&configuration, &config);
debug!("Logger created!"); debug!("Logger created!");
debug!("CliConfig : {:?}", &config); debug!("CliConfig : {:?}", &config);

View file

@ -31,10 +31,6 @@ impl<'a> BM<'a> {
} }
} }
fn runtime(&self) -> &Runtime {
&self.rt
}
/** /**
* Subcommand: add * Subcommand: add
*/ */

View file

@ -120,8 +120,6 @@ impl FilePrinter for SimplePrinter {
* Table printer to print file information in a nice ASCII-table * Table printer to print file information in a nice ASCII-table
*/ */
pub struct TablePrinter { pub struct TablePrinter {
verbose: bool,
debug: bool,
sp: SimplePrinter, sp: SimplePrinter,
} }
@ -129,8 +127,6 @@ impl FilePrinter for TablePrinter {
fn new(verbose: bool, debug: bool) -> TablePrinter { fn new(verbose: bool, debug: bool) -> TablePrinter {
TablePrinter { TablePrinter {
debug: debug,
verbose: verbose,
sp: SimplePrinter::new(verbose, debug), sp: SimplePrinter::new(verbose, debug),
} }
} }