Skip to content

Commit

Permalink
Auto merge of #466 - fiveop:warnings, r=posborne
Browse files Browse the repository at this point in the history
Get rid of a few test compilation warnings

Cleans up after 0fa7250 and 40351db.
  • Loading branch information
homu committed Nov 14, 2016
2 parents 6b26884 + 361087b commit dcc4818
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion test/sys/test_uio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use nix::sys::uio::*;
use nix::unistd::*;
use rand::{thread_rng, Rng};
use std::{cmp, iter};
use std::fs::{OpenOptions, remove_file};
use std::fs::{OpenOptions};
use std::os::unix::io::AsRawFd;

use tempdir::TempDir;
Expand Down
2 changes: 0 additions & 2 deletions test/test_mount.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ exit 23";
}

pub fn test_mount_bind() {
use std::env;

let tempdir = TempDir::new("nix-test_mount")
.unwrap_or_else(|e| panic!("tempdir failed: {}", e));
let file_name = "test";
Expand Down

0 comments on commit dcc4818

Please sign in to comment.