Remove unused warn and fix dangling parameter.

This commit is contained in:
Shane Handley 2019-10-20 13:36:38 +09:00 committed by timokoesters
parent 4a65cddd15
commit 81f41e278e
No known key found for this signature in database
GPG Key ID: CD80BE9AAEE78097
2 changed files with 0 additions and 2 deletions

View File

@ -1,7 +1,6 @@
use client::{error::Error as ClientError, Client};
use common::comp;
use crossbeam::channel::{unbounded, Receiver, TryRecvError};
use log::info;
use std::sync::atomic::{AtomicBool, Ordering};
use std::sync::Arc;
use std::{net::ToSocketAddrs, thread, time::Duration};

View File

@ -205,7 +205,6 @@ fn attempt_login(
let config = Config::default();
argon2::hash_encoded(password.as_bytes(), salt, &config).unwrap()
},
false,
));
}
} else {