suppress warning

This commit is contained in:
Wez Furlong committed 2019-12-30 11:11:41 -08:00
1 parent 3f2e29b024
commit b4b24aacca
1 file changed
+1 -1
+1 -1
View File
@@ -1006,7 +1006,7 @@ impl WindowView {
}
fn key_common(this: &mut Object, nsevent: id, key_is_down: bool) {
let is_a_repeat = unsafe { nsevent.isARepeat() == YES };
// let is_a_repeat = unsafe { nsevent.isARepeat() == YES };
let chars = unsafe { nsstring_to_str(nsevent.characters()) };
let unmod = unsafe { nsstring_to_str(nsevent.charactersIgnoringModifiers()) };
let modifiers = unsafe { key_modifiers(nsevent.modifierFlags()) };