remove unused param

This commit is contained in:
B. Petersen
2025-02-23 01:22:43 +01:00
parent b455344a14
commit 307b61a2c0

View File

@@ -1045,9 +1045,8 @@ pub unsafe extern "C" fn dc_send_text_msg(
pub unsafe extern "C" fn dc_can_send_edit_request(
context: *mut dc_context_t,
msg_id: u32,
new_text: *const libc::c_char,
) -> 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()");
return 0;
}