Fix unused variable warning

This commit is contained in:
Alex Crichton 2015-09-16 17:44:40 -07:00
parent 2482400b27
commit b5da7c0f01
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,5 @@
#![deny(warnings)]
extern crate ctest;
use std::env;
@ -136,7 +138,6 @@ fn main() {
}
});
let target2 = target.clone();
cfg.skip_type(move |ty| {
match ty {
// sighandler_t is crazy across platforms