mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 06:56:29 +03:00
remove dead code
This commit is contained in:
committed by
holger krekel
parent
5663c7dec3
commit
c603ca0e7a
@@ -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],);
|
||||
|
||||
Reference in New Issue
Block a user