Fix warnings during tests

The deny(warnings) attribute is now enabled for tests so we need to weed out
these warnings as well.
This commit is contained in:
Alex Crichton
2016-01-22 23:49:57 -08:00
parent 4b3c35509b
commit cb343c33ac
24 changed files with 137 additions and 141 deletions

View File

@@ -7,6 +7,7 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![cfg_attr(test, allow(dead_code))]
use libc;