fix a waterboxhost compile warning

This commit is contained in:
Morilli 2024-09-03 07:36:29 +02:00
parent 92724aee0b
commit 959484ee13
1 changed files with 0 additions and 1 deletions
waterbox/waterboxhost/src

View File

@ -55,7 +55,6 @@ impl FromResidual for SyscallReturn {
impl FromResidual<Result<std::convert::Infallible, SyscallError>> for SyscallReturn {
fn from_residual(v: Result<std::convert::Infallible, SyscallError>) -> Self {
match v {
Ok(never) => match never {},
Err(zz) => SyscallReturn(-zz.0 as isize as usize),
}
}