summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2013-05-19 21:32:32 -0700
committerSteve Klabnik <steve@steveklabnik.com>2013-05-19 21:32:32 -0700
commitd3f70b141a43ebe02dcb3d62ffe2ae42da561aad (patch)
tree85005a6083887b6e96a6a2a739512aa7b5df158d /src/libcore
parent9283dfe0b4dfbad176821ed93df6d519ad58423a (diff)
downloadrust-d3f70b141a43ebe02dcb3d62ffe2ae42da561aad.tar.gz
rust-d3f70b141a43ebe02dcb3d62ffe2ae42da561aad.zip
Fix many warnings.
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/rt/uv/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/rt/uv/mod.rs b/src/libcore/rt/uv/mod.rs
index ad593058303..425c258b8fd 100644
--- a/src/libcore/rt/uv/mod.rs
+++ b/src/libcore/rt/uv/mod.rs
@@ -273,8 +273,8 @@ pub fn uv_error_to_io_error(uverr: UvError) -> IoError {
             ECONNREFUSED => ConnectionRefused,
             ECONNRESET => ConnectionReset,
             EPIPE => BrokenPipe,
-            e => {
-                rtdebug!("e %u", e as uint);
+            _ => {
+                rtdebug!("uverr.code %u", uverr.code as uint);
                 // XXX: Need to map remaining uv error types
                 OtherIoError
             }