fixed an uninitialized variable, which caused keyboard breakage on x86

when building with optimization enabled.
This commit is contained in:
Ben Byer 2007-10-31 16:19:46 -07:00 committed by Jeremy Huddleston
parent 966d329b14
commit 947fdd9fe8

View file

@ -220,7 +220,7 @@ DarwinModeReadSystemKeymap (darwinKeyboardInfo *info)
const void *chr_data = NULL;
int num_keycodes = NUM_KEYCODES;
UInt32 keyboard_type = 0;
int is_uchr, i, j;
int is_uchr = 0, i, j;
OSStatus err;
KeySym *k;