mirror of
https://github.com/xavo95/repak.git
synced 2025-01-18 10:54:38 +00:00
use clippy suggestions
This commit is contained in:
parent
aae65c12cf
commit
7004e1c203
1 changed files with 2 additions and 0 deletions
|
@ -316,6 +316,7 @@ impl Entry {
|
|||
) -> Result<(), super::Error> {
|
||||
reader.seek(io::SeekFrom::Start(self.offset))?;
|
||||
Entry::read(reader, version)?;
|
||||
#[cfg(any(feature = "compression", feature = "oodle"))]
|
||||
let data_offset = reader.stream_position()?;
|
||||
#[allow(unused_mut)]
|
||||
let mut data = reader.read_len(match self.is_encrypted() {
|
||||
|
@ -338,6 +339,7 @@ impl Entry {
|
|||
}
|
||||
}
|
||||
|
||||
#[cfg(any(feature = "compression", feature = "oodle"))]
|
||||
let ranges = match &self.blocks {
|
||||
Some(blocks) => blocks
|
||||
.iter()
|
||||
|
|
Loading…
Reference in a new issue