Skip to content

Commit

Permalink
Remove unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
DouglasDwyer committed Oct 21, 2023
1 parent 3443535 commit c670b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tree_store/page_store/cached_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c670b1d

Please sign in to comment.