Fix warning

This commit is contained in:
asur4s
2022-09-05 12:39:11 -04:00
parent 2d7cd7c864
commit b6e0cc8e74
9 changed files with 20 additions and 14 deletions

View File

@@ -2,7 +2,6 @@ use std::{
collections::HashMap,
ops::{Deref, DerefMut},
sync::{
atomic::{Ordering},
Arc, Mutex,
},
};
@@ -29,7 +28,7 @@ use hbb_common::{allow_err, log, message_proto::*, rendezvous_proto::ConnType};
use crate::clipboard_file::*;
use crate::{
client::*,
ui_session_interface::{InvokeUi, Session, IS_IN},
ui_session_interface::{InvokeUi, Session},
};
type Video = AssetPtr<video_destination>;
@@ -155,6 +154,7 @@ impl InvokeUi for SciterHandler {
self.call("clearAllJobs", &make_args!());
}
#[allow(unused_variables)]
fn add_job(
&self,
id: i32,