window: remove unused local variable on macos

This commit is contained in:
Wez Furlong committed 2022-01-03 09:24:30 -07:00
1 parent 5f26746286
commit 640ffbe1e8
1 file changed
-2
-2
View File
@@ -2004,8 +2004,6 @@ impl WindowView {
}
if let Some(key) = key_string_to_key_code(chars).or_else(|| key_string_to_key_code(unmod)) {
let raw_modifiers = modifiers;
let (key, raw_key) = if chars.is_empty() || chars == unmod {
(key, None)
} else {