Skip to content

Commit

Permalink
Fix unused import warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Apr 1, 2019
1 parent 4986d8c commit ee6e1c5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/testsuite/death.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ fn ctrl_c_kills_everyone() {

#[cfg(unix)]
fn ctrl_c(child: &mut Child) {
use libc;

let r = unsafe { libc::kill(-(child.id() as i32), libc::SIGINT) };
if r < 0 {
panic!("failed to kill: {}", io::Error::last_os_error());
Expand Down

0 comments on commit ee6e1c5

Please sign in to comment.