Unused timeout variable is now unbound in connect_ssl_internal when
compiled without SSL support.
This commit is contained in:
parent
575d37525a
commit
41c824ce47
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ impl Connection<BufferedStream<TcpStream>> {
|
|||
/// 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<u64>)
|
||||
fn connect_ssl_internal(host: &str, port: u16, _: Option<u64>)
|
||||
-> IoResult<Connection<BufferedStream<NetStream>>> {
|
||||
panic!("Cannot connect to {}:{} over SSL without compiling with SSL support.", host, port)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue