remove dead code

This commit is contained in:
B. Petersen
2019-09-08 00:47:15 +02:00
committed by holger krekel
parent 5663c7dec3
commit c603ca0e7a
2 changed files with 0 additions and 22 deletions

View File

@@ -389,8 +389,6 @@ impl Helper for DcHelper {}
fn main_0(args: Vec<String>) -> Result<(), failure::Error> {
let mut context = dc_context_new(Some(receive_event), ptr::null_mut(), Some("CLI".into()));
unsafe { dc_cmdline_skip_auth() };
if args.len() == 2 {
if unsafe { !dc_open(&mut context, &args[1], None) } {
println!("Error: Cannot open {}.", args[0],);