From 347943640e9ea1db18d5a7401c0b50a44544599d Mon Sep 17 00:00:00 2001 From: Andrew Dunham Date: Fri, 23 Aug 2013 17:24:09 -0400 Subject: [PATCH] Fix two small warnings --- src/libextra/uuid.rs | 2 +- src/libstd/run.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libextra/uuid.rs b/src/libextra/uuid.rs index 1a99de127a8..3159d8a8f3c 100644 --- a/src/libextra/uuid.rs +++ b/src/libextra/uuid.rs @@ -787,7 +787,7 @@ mod bench { pub fn parse_str(bh: &mut BenchHarness) { let s = "urn:uuid:F9168C5E-CEB2-4faa-B6BF-329BF39FA1E4"; do bh.iter { - let u = Uuid::parse_string(s); + Uuid::parse_string(s); } } } diff --git a/src/libstd/run.rs b/src/libstd/run.rs index eeaee4c14a5..7fc2deff97d 100644 --- a/src/libstd/run.rs +++ b/src/libstd/run.rs @@ -949,7 +949,7 @@ fn waitpid(pid: pid_t) -> int { #[cfg(test)] mod tests { use io; - use libc::{c_int, uintptr_t}; + use libc::c_int; use option::{Option, None, Some}; use os; use path::Path;