Wholesale fix of warnings

Pretty straightforward changes. This commit tries to avoid making any non-trivial fixes.
This commit is contained in:
Andrey Turkin
2024-07-16 05:11:06 +03:00
parent 643d7400db
commit d2ebc7ff05
64 changed files with 171 additions and 635 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ fn enforce_root() -> Result<()> {
}
#[cfg(not(any(target_arch = "x86", target_arch = "x86_64")))]
pub fn iopl(level: usize) -> Result<usize> {
pub fn iopl(_level: usize) -> Result<usize> {
Err(Error::new(syscall::error::ENOSYS))
}