mirror of
https://github.com/neondatabase/neon.git
synced 2026-06-04 22:10:39 +00:00
Eliminate warnings
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user