Skip to content

Commit 038edb6

Browse files
committed
Auto merge of #6807 - ehuss:libc-warning, r=alexcrichton
Fix unused import warning. 2019-04-01 nightly introduced a new warning (presumably rust-lang/rust#58805).
2 parents 4986d8c + ee6e1c5 commit 038edb6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/testsuite/death.rs

-2
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,6 @@ fn ctrl_c_kills_everyone() {
131131

132132
#[cfg(unix)]
133133
fn ctrl_c(child: &mut Child) {
134-
use libc;
135-
136134
let r = unsafe { libc::kill(-(child.id() as i32), libc::SIGINT) };
137135
if r < 0 {
138136
panic!("failed to kill: {}", io::Error::last_os_error());

0 commit comments

Comments
 (0)