From c670b1d1bea688ab47f32f0b9f7faad986850aae Mon Sep 17 00:00:00 2001 From: Douglas Dwyer Date: Sat, 21 Oct 2023 11:52:37 -0400 Subject: [PATCH] Remove unused variable warning --- src/tree_store/page_store/cached_file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tree_store/page_store/cached_file.rs b/src/tree_store/page_store/cached_file.rs index a39c33fb..1a950baf 100644 --- a/src/tree_store/page_store/cached_file.rs +++ b/src/tree_store/page_store/cached_file.rs @@ -328,7 +328,7 @@ impl PagedCachedFile { self.file.set_len(len).map_err(StorageError::from) } - pub(super) fn flush(&self, eventual: bool) -> Result { + pub(super) fn flush(&self, #[allow(unused_variables)] eventual: bool) -> Result { self.check_fsync_failure()?; self.flush_write_buffer()?; // Disable fsync when fuzzing, since it doesn't test crash consistency