Remove dead code
This commit is contained in:
parent
a2856d8671
commit
37f3c90914
3 changed files with 1 additions and 9 deletions
|
@ -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);
|
||||
|
|
|
@ -31,10 +31,6 @@ impl<'a> BM<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
fn runtime(&self) -> &Runtime {
|
||||
&self.rt
|
||||
}
|
||||
|
||||
/**
|
||||
* Subcommand: add
|
||||
*/
|
||||
|
|
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue