fixed unused variable
This commit is contained in:
parent
f56706beed
commit
03664fe69e
@ -179,7 +179,7 @@ fn exchange_with_server(stream: TcpStream) {
|
||||
})()
|
||||
{
|
||||
Ok(name) => String::from(name),
|
||||
Err(e) => {
|
||||
Err(_) => {
|
||||
println!("{}", ">>> Login successful".green());
|
||||
String::new()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user