summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordas <das>2003-02-20 07:07:54 (GMT)
committerdas <das>2003-02-20 07:07:54 (GMT)
commit1e2ffa0e1da236e9b7bea4917525d5f1a9ecb786 (patch)
tree822034338805db19436636e715dd8caab9e6978c /macosx
parente58c4121633f54dd00b872d11a8e40cc777c5ab5 (diff)
downloadtk-1e2ffa0e1da236e9b7bea4917525d5f1a9ecb786.zip
tk-1e2ffa0e1da236e9b7bea4917525d5f1a9ecb786.tar.gz
tk-1e2ffa0e1da236e9b7bea4917525d5f1a9ecb786.tar.bz2
* macosx/tkMacOSXKeyEvent.c: fix for uninitialized var warning.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXKeyEvent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXKeyEvent.c b/macosx/tkMacOSXKeyEvent.c
index eee1844..ed9535a 100644
--- a/macosx/tkMacOSXKeyEvent.c
+++ b/macosx/tkMacOSXKeyEvent.c
@@ -144,7 +144,7 @@ int TkMacOSXProcessKeyboardEvent(
#endif
int eventGenerated;
UniChar uniChars[5]; /* make this larger, if needed */
- UInt32 uniCharsLen;
+ UInt32 uniCharsLen = 0;
if (!InitKeyData(&keyEventData)) {
statusPtr->err = 1;