Skip to content

Commit c14a390

Browse files
vanhauser-thcsmoelius
authored andcommitted
clippy
1 parent 504cd8c commit c14a390

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cargo-afl/tests/integration.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,10 @@ fn integration_maze() {
7171
return;
7272
}
7373

74-
let mut fail = 0;
7574
let temp_dir = tempfile::TempDir::new().expect("Could not create temporary directory");
7675
let temp_dir_path = temp_dir.path();
7776

78-
for i in 0..3 {
77+
for _i in 0..3 {
7978
let _: ExitStatus = process::Command::new(cargo_afl_path())
8079
.arg("afl")
8180
.arg("fuzz")
@@ -96,7 +95,7 @@ fn integration_maze() {
9695
let crashes = std::fs::read_dir(temp_dir_path.join("default").join("crashes"))
9796
.unwrap()
9897
.count();
99-
if (crashes >= 1) {
98+
if crashes >= 1 {
10099
return;
101100
}
102101
}

0 commit comments

Comments
 (0)