From b2a68979823e23dfb4406fac5aebc7e332749cd2 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 3 Jul 2019 14:56:24 +0200 Subject: [PATCH] src/client/remote_chunk_reader.rs: remove dead code --- src/client/remote_chunk_reader.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/client/remote_chunk_reader.rs b/src/client/remote_chunk_reader.rs index f32a8d87..81e420c6 100644 --- a/src/client/remote_chunk_reader.rs +++ b/src/client/remote_chunk_reader.rs @@ -22,8 +22,6 @@ impl ReadChunk for RemoteChunkReader { fn read_chunk(&mut self, digest:&[u8; 32]) -> Result, Error> { - let digest_str = proxmox::tools::digest_to_hex(digest); - let writer = Vec::with_capacity(4*1024*1024); let chunk_data = self.client.download_chunk(&digest, writer).wait()?;