Eliminate warnings

This commit is contained in:
Konstantin Knizhnik
2021-09-18 15:39:29 +03:00
parent 891633f2cd
commit ae2232641d
2 changed files with 0 additions and 3 deletions

View File

@@ -1163,7 +1163,6 @@ impl LayeredTimeline {
///
fn get_layer_for_write(&self, seg: SegmentTag, lsn: Lsn) -> Result<Arc<InMemoryLayer>> {
let mut layers = self.layers.lock().unwrap();
let mut delayed = false;
assert!(lsn.is_aligned());

View File

@@ -23,8 +23,6 @@ use postgres_types::PgLsn;
use std::cmp::{max, min};
use std::collections::HashMap;
use std::fs;
use std::fs::{File, OpenOptions};
use std::io::{Seek, SeekFrom, Write};
use std::str::FromStr;
use std::sync::Mutex;
use std::thread;