diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-16 14:39:56 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-03-16 14:39:56 (GMT) |
commit | 663171632ff30a634db7fceec2fe953bf083739a (patch) | |
tree | e4eeb7c21f9e5b06565d123ae6a934586dddcbca /macosx/tkMacOSXKeyboard.c | |
parent | e5b9589c31adba8e64aea7054478a257cc7399b0 (diff) | |
download | tk-663171632ff30a634db7fceec2fe953bf083739a.zip tk-663171632ff30a634db7fceec2fe953bf083739a.tar.gz tk-663171632ff30a634db7fceec2fe953bf083739a.tar.bz2 |
Eliminate some write-only variables in MacOSX
Diffstat (limited to 'macosx/tkMacOSXKeyboard.c')
-rw-r--r-- | macosx/tkMacOSXKeyboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXKeyboard.c b/macosx/tkMacOSXKeyboard.c index 9aca9e1..fe2991e 100644 --- a/macosx/tkMacOSXKeyboard.c +++ b/macosx/tkMacOSXKeyboard.c @@ -273,9 +273,9 @@ UpdateKeymaps() for (virt = 0; virt < 128; virt++) { MacKeycode macKC; macKC.v = (keycode_v) {.virt = virt, .o_s = index, .keychar = 0}; - int modifiers = INDEX2CARBON(index), result; + int modifiers = INDEX2CARBON(index); UniChar keychar = 0; - result = KeyDataToUnicode(&keychar, 1, kUCKeyActionDown, virt, + KeyDataToUnicode(&keychar, 1, kUCKeyActionDown, virt, modifiers, NULL); if (keychar == 0x10) { |