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