mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-19 16:33:01 +08:00
remove warns
Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
parent
811293b261
commit
72cfea9202
@ -14,7 +14,7 @@ use flutter_rust_bridge::{StreamSink, SyncReturn};
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
use hbb_common::allow_err;
|
||||
use hbb_common::{
|
||||
config::{self, get_online_statue, LocalConfig, PeerConfig, PeerInfoSerde},
|
||||
config::{self, LocalConfig, PeerConfig, PeerInfoSerde},
|
||||
fs, log,
|
||||
message_proto::KeyboardMode,
|
||||
ResultType,
|
||||
|
@ -454,10 +454,10 @@ impl<T: InvokeUiCM> IpcTaskRunner<T> {
|
||||
}
|
||||
}
|
||||
Some(data) = self.rx.recv() => {
|
||||
if let Data::SwitchPermission{name, enabled} = &data {
|
||||
if let Data::SwitchPermission{name: _name, enabled: _enabled} = &data {
|
||||
#[cfg(windows)]
|
||||
if name == "file" {
|
||||
self.file_transfer_enabled = *enabled;
|
||||
if _name == "file" {
|
||||
self.file_transfer_enabled = *_enabled;
|
||||
}
|
||||
}
|
||||
if self.stream.send(&data).await.is_err() {
|
||||
|
Loading…
Reference in New Issue
Block a user