add unused_mut lint

This commit is contained in:
auronandace
2026-02-08 09:00:14 +00:00
parent a935094d2d
commit 64f18ca89a
18 changed files with 48 additions and 76 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ pub unsafe extern "C" fn openlog(ident: *const c_char, opt: c_int, facility: c_i
///
/// Non-POSIX, 4.3BSD-Reno.
#[unsafe(no_mangle)]
pub unsafe extern "C" fn vsyslog(priority: c_int, message: *const c_char, mut ap: VaList) {
pub unsafe extern "C" fn vsyslog(priority: c_int, message: *const c_char, ap: VaList) {
let Some(message) = (unsafe { CStr::from_nullable_ptr(message) }) else {
return;
};