remove unused variable in compiletest

This commit is contained in:
Niko Matsakis
2016-03-16 15:00:34 -04:00
parent 977636156a
commit 86fa58d6c8
-6
View File
@@ -126,12 +126,6 @@ fn make_absolute(path: PathBuf) -> PathBuf {
}
}
let filter = if !matches.free.is_empty() {
Some(matches.free[0].clone())
} else {
None
};
Config {
compile_lib_path: make_absolute(opt_path(matches, "compile-lib-path")),
run_lib_path: make_absolute(opt_path(matches, "run-lib-path")),