Skip to content

Commit

Permalink
clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
encounter committed Sep 10, 2023
1 parent 18170a9 commit 50f913c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cmd/dol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ fn diff(args: DiffArgs) -> Result<()> {
}

log::info!("Loading {}", args.elf_file.display());
let mut linked_obj = process_elf(&args.elf_file)?;
let linked_obj = process_elf(&args.elf_file)?;

for orig_sym in obj
.symbols
Expand Down Expand Up @@ -1369,7 +1369,7 @@ fn apply(args: ApplyArgs) -> Result<()> {
}

log::info!("Loading {}", args.elf_file.display());
let mut linked_obj = process_elf(&args.elf_file)?;
let linked_obj = process_elf(&args.elf_file)?;

let mut replacements: Vec<(SymbolIndex, Option<ObjSymbol>)> = vec![];
for (orig_idx, orig_sym) in obj.symbols.iter().enumerate() {
Expand Down

0 comments on commit 50f913c

Please sign in to comment.