Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan-rsm-McKenzie committed Apr 26, 2024
1 parent 1c98cb4 commit b5a1047
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/fo4/archive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,9 @@ impl Offsets {
#[must_use]
pub fn new(archive: &Archive, options: Options) -> Self {
let chunks_offset = match options.version {
Version::v1 => constants::HEADER_SIZE_V1,
Version::v1 | Version::v7 | Version::v8 => constants::HEADER_SIZE_V1,
Version::v2 => constants::HEADER_SIZE_V2,
Version::v3 => constants::HEADER_SIZE_V3,
Version::v7 => constants::HEADER_SIZE_V1,
Version::v8 => constants::HEADER_SIZE_V1,
};

let file_data_offset = {
Expand Down

0 comments on commit b5a1047

Please sign in to comment.