From 50f913c4ebb9b2870e33a8de7b235a604687db55 Mon Sep 17 00:00:00 2001 From: Luke Street Date: Sun, 10 Sep 2023 02:20:54 -0400 Subject: [PATCH] clippy fixes --- src/cmd/dol.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/dol.rs b/src/cmd/dol.rs index 522f067..e328711 100644 --- a/src/cmd/dol.rs +++ b/src/cmd/dol.rs @@ -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 @@ -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)> = vec![]; for (orig_idx, orig_sym) in obj.symbols.iter().enumerate() {