mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 21:06:31 +03:00
remove unused param
This commit is contained in:
@@ -1045,9 +1045,8 @@ pub unsafe extern "C" fn dc_send_text_msg(
|
|||||||
pub unsafe extern "C" fn dc_can_send_edit_request(
|
pub unsafe extern "C" fn dc_can_send_edit_request(
|
||||||
context: *mut dc_context_t,
|
context: *mut dc_context_t,
|
||||||
msg_id: u32,
|
msg_id: u32,
|
||||||
new_text: *const libc::c_char,
|
|
||||||
) -> libc::c_int {
|
) -> libc::c_int {
|
||||||
if context.is_null() || new_text.is_null() {
|
if context.is_null() {
|
||||||
eprintln!("ignoring careless call to dc_can_send_edit_request()");
|
eprintln!("ignoring careless call to dc_can_send_edit_request()");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user