reduce compiler warnings

This commit is contained in:
Dietmar Maurer
2019-01-18 16:50:15 +01:00
parent 383e857749
commit 728797d0c1
4 changed files with 9 additions and 9 deletions

View File

@ -23,7 +23,7 @@ pub struct ArchiveIndexHeader {
pub struct ArchiveIndexReader {
store: Arc<ChunkStore>,
file: File,
_file: File,
size: usize,
filename: PathBuf,
index: *const u8,
@ -95,7 +95,7 @@ impl ArchiveIndexReader {
Ok(Self {
store,
filename: full_path,
file,
_file: file,
size,
index: data,
index_entries: index_size/40,