add unused-unsafe lint
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user