Skip to content

Commit 83a299a

Browse files
committed
Remove #[allow(dead_code)] attributes from common.rs
1 parent b1fd2a5 commit 83a299a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cargo-afl/src/common.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,27 +50,22 @@ fn pkg_version() -> String {
5050
ret
5151
}
5252

53-
#[allow(dead_code)]
5453
pub fn afl_dir() -> Result<PathBuf> {
5554
data_dir("afl")
5655
}
5756

58-
#[allow(dead_code)]
5957
pub fn afl_llvm_dir() -> Result<PathBuf> {
6058
data_dir("afl-llvm")
6159
}
6260

63-
#[allow(dead_code)]
6461
pub fn object_file_path() -> Result<PathBuf> {
6562
afl_llvm_dir().map(|path| path.join("libafl-llvm-rt.o"))
6663
}
6764

68-
#[allow(dead_code)]
6965
pub fn archive_file_path() -> Result<PathBuf> {
7066
afl_llvm_dir().map(|path| path.join("libafl-llvm-rt.a"))
7167
}
7268

73-
#[allow(dead_code)]
7469
pub fn plugins_available() -> Result<bool> {
7570
let afl_llvm_dir = afl_llvm_dir()?;
7671
for result in afl_llvm_dir

0 commit comments

Comments
 (0)