Skip to content

Commit 33654c8

Browse files
committed
rust: remove unused argument
1 parent 74f96fd commit 33654c8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,6 @@ fn validate_elf(
494494
}
495495

496496
fn validate_macho(
497-
python_major_minor: &str,
498497
target_triple: &str,
499498
path: &Path,
500499
macho: &goblin::mach::MachO,
@@ -608,7 +607,7 @@ fn validate_possible_object_file(
608607
goblin::Object::Mach(mach) => match mach {
609608
goblin::mach::Mach::Binary(macho) => {
610609
let (local_errors, local_seen_dylibs) =
611-
validate_macho(python_major_minor, triple, path.as_ref(), &macho, &data)?;
610+
validate_macho(triple, path.as_ref(), &macho, &data)?;
612611

613612
errors.extend(local_errors);
614613
seen_dylibs.extend(local_seen_dylibs);

0 commit comments

Comments
 (0)