src/backup/catalog.rs: remove unused code

This commit is contained in:
Dietmar Maurer 2019-11-10 11:37:06 +01:00
parent c74c074bfd
commit e8d8fdc61d
1 changed files with 0 additions and 6 deletions

View File

@ -299,12 +299,6 @@ impl <R: Read + Seek> CatalogReader<R> {
Self { reader } Self { reader }
} }
fn next_byte<C: Read>(reader: &mut C) -> Result<u8, std::io::Error> {
let mut buf = [0u8; 1];
reader.read_exact(&mut buf)?;
Ok(buf[0])
}
pub fn dump(&mut self) -> Result<(), Error> { pub fn dump(&mut self) -> Result<(), Error> {
self.reader.seek(SeekFrom::End(-8))?; self.reader.seek(SeekFrom::End(-8))?;