From e8d8fdc61d0dbe7bb631d46fe07340a34982b244 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Sun, 10 Nov 2019 11:37:06 +0100 Subject: [PATCH] src/backup/catalog.rs: remove unused code --- src/backup/catalog.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/backup/catalog.rs b/src/backup/catalog.rs index 4bb7c2f4..b3e248b0 100644 --- a/src/backup/catalog.rs +++ b/src/backup/catalog.rs @@ -299,12 +299,6 @@ impl CatalogReader { Self { reader } } - fn next_byte(reader: &mut C) -> Result { - let mut buf = [0u8; 1]; - reader.read_exact(&mut buf)?; - Ok(buf[0]) - } - pub fn dump(&mut self) -> Result<(), Error> { self.reader.seek(SeekFrom::End(-8))?;