Fix a bunch of warnings

This commit is contained in:
bjorn3
2026-04-03 20:57:39 +02:00
parent 3cbce1b9ac
commit b805336cfc
7 changed files with 22 additions and 35 deletions
+1 -1
View File
@@ -567,7 +567,7 @@ impl KernelScheme for ProcScheme {
Ok(result_base.start_address().data())
}
ContextHandle::Sighandler => {
let mut context = context.read(token.token());
let context = context.read(token.token());
// let (context, token) = context.token_split();
let sig = context.sig.as_ref().ok_or(Error::new(EBADF))?;
let frame = match map.offset {