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

@@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![cfg_attr(test, allow(dead_code))]
use sys_common::util::report_overflow;
use sys::c;