clippy fixes

This commit is contained in:
Folkert 2022-08-17 14:27:54 +02:00
parent 0ba5b3cfc6
commit f3f6f58d09
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
5 changed files with 6 additions and 11 deletions

View file

@ -1967,7 +1967,7 @@ pub fn surgery(
let out_gen_start = Instant::now();
let mut offset = 0;
let output = match target.binary_format {
match target.binary_format {
target_lexicon::BinaryFormat::Elf => {
surgery_elf(verbose, &md, &mut exec_mmap, &mut offset, app_obj)
}
@ -2036,8 +2036,6 @@ pub fn surgery(
);
report_timing("Total", total_duration);
}
output
}
#[allow(clippy::too_many_arguments)]