open,common: Fix unused values and mut

This commit is contained in:
George Kaklamanos 2023-12-02 14:23:40 +02:00
parent 8bb070811f
commit 2c4ac96893
2 changed files with 3 additions and 3 deletions

View file

@ -53,7 +53,7 @@ pub fn open(args: OpenArgs) -> Result<(), ()> {
let mut identifier = args.identifier.clone();
let mut resource = "Null".to_string();
for (method, binary) in args.auth.iter() {
for (_, binary) in args.auth.iter() {
let output = run_auth(&args, binary.to_vec());
if let Ok(user) = output {
identifier = user.username;