cleanup: remove dead code

This commit is contained in:
Dietmar Maurer 2019-10-05 16:10:41 +02:00
parent 88892ea801
commit c26d4b4573

View File

@ -944,9 +944,6 @@ fn dump_image<W: Write>(
// Note: we avoid using BufferedFixedReader, because that add an additional buffer/copy
// and thus slows down reading. Instead, directly use RemoteChunkReader
let mut size: usize = 0;
for pos in 0..index.index_count() {
let digest = index.index_digest(pos).unwrap();
let raw_data = chunk_reader.read_chunk(&digest)?;