cleanup: remove dead code

This commit is contained in:
Dietmar Maurer 2019-10-05 16:10:41 +02:00
parent 88892ea801
commit c26d4b4573
1 changed files with 0 additions and 3 deletions

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)?;