convert must_use compile warnings to unused_variables to track locations where we need to refactor in the future

This commit is contained in:
pedrocarlo
2025-07-28 15:37:32 -03:00
parent 3aba5821fc
commit 3831e0db39
11 changed files with 33 additions and 32 deletions

View File

@@ -702,7 +702,7 @@ impl turso_core::DatabaseStorage for DatabaseFile {
return Err(turso_core::LimboError::NotADB);
}
let pos = (page_idx - 1) * size;
self.file.pread(pos, c.into())
self.file.pread(pos, c)
}
fn write_page(
@@ -713,11 +713,11 @@ impl turso_core::DatabaseStorage for DatabaseFile {
) -> turso_core::Result<turso_core::Completion> {
let size = buffer.borrow().len();
let pos = (page_idx - 1) * size;
self.file.pwrite(pos, buffer, c.into())
self.file.pwrite(pos, buffer, c)
}
fn sync(&self, c: turso_core::Completion) -> turso_core::Result<turso_core::Completion> {
self.file.sync(c.into())
self.file.sync(c)
}
fn size(&self) -> turso_core::Result<u64> {