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 config = CliConfig::new(app);
let configuration = Configuration::new(&config);
let logger = ImagLogger::init(&configuration, &config);
ImagLogger::init(&configuration, &config);
debug!("Logger created!");
debug!("CliConfig : {:?}", &config);

View file

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

View file

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