mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-09 17:11:28 +03:00
refact: suppress warns on macos (#12449)
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
@@ -418,6 +418,7 @@ pub fn is_modifier(key: &rdev::Key) -> bool {
|
||||
}
|
||||
|
||||
#[inline]
|
||||
#[allow(dead_code)]
|
||||
pub fn is_modifier_code(evt: &KeyEvent) -> bool {
|
||||
match evt.union {
|
||||
Some(key_event::Union::Chr(code)) => {
|
||||
|
||||
Reference in New Issue
Block a user