5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-01-18 06:03:59 +03:00

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

View File

@ -299,12 +299,6 @@ impl <R: Read + Seek> CatalogReader<R> {
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> {
self.reader.seek(SeekFrom::End(-8))?;