fix last two warnings

This commit is contained in:
holger krekel
2019-07-22 11:45:41 +02:00
parent 7a19963879
commit 6f79800824
2 changed files with 2 additions and 5 deletions

View File

@@ -487,10 +487,7 @@ pub fn dc_msg_load_from_db<'a>(msg: *mut dc_msg_t<'a>, context: &'a Context, id:
}
);
match res {
Ok(_) => true,
Err(err) => false,
}
res.is_ok()
}
pub unsafe fn dc_get_mime_headers(context: &Context, msg_id: uint32_t) -> *mut libc::c_char {