add unused-unsafe lint

This commit is contained in:
auronandace
2026-02-08 15:39:48 +00:00
parent 1ec204d702
commit c3f3e051e1
11 changed files with 47 additions and 66 deletions
+1 -1
View File
@@ -159,7 +159,7 @@ pub unsafe extern "C" fn pthread_attr_setschedparam(
param: *const sched_param,
) -> c_int {
unsafe {
(*attr.cast::<RlctAttr>()).param = unsafe { param.read() };
(*attr.cast::<RlctAttr>()).param = param.read();
}
0
}