From 41c824ce4798da964d402e519306badde442c9a5 Mon Sep 17 00:00:00 2001 From: Aaron Weiss Date: Sat, 29 Nov 2014 04:57:38 -0500 Subject: [PATCH] Unused timeout variable is now unbound in connect_ssl_internal when compiled without SSL support. --- src/conn.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conn.rs b/src/conn.rs index 8e5a9f7..a56bbe1 100644 --- a/src/conn.rs +++ b/src/conn.rs @@ -56,7 +56,7 @@ impl Connection> { /// Panics because SSL support was not included at compilation. #[experimental] #[cfg(not(feature = "ssl"))] - fn connect_ssl_internal(host: &str, port: u16, timeout_ms: Option) + fn connect_ssl_internal(host: &str, port: u16, _: Option) -> IoResult>> { panic!("Cannot connect to {}:{} over SSL without compiling with SSL support.", host, port) }