From: Stefan Monnier Date: Sun, 15 Jun 2003 20:59:24 +0000 (+0000) Subject: (mac_check_for_quit_char): Don't pass uninitialized X-Git-Tag: ttn-vms-21-2-B4~9651 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c61ab2a0061a08b5f4aa38afedfdb771a174a98b;p=emacs.git (mac_check_for_quit_char): Don't pass uninitialized data to kbd_buffer_store_event. --- diff --git a/src/macterm.c b/src/macterm.c index f087c78870e..d00c1d690ac 100644 --- a/src/macterm.c +++ b/src/macterm.c @@ -8594,6 +8594,7 @@ mac_check_for_quit_char () struct mac_output *mwp = (mac_output *) GetWRefCon (FrontNonFloatingWindow ()); /* Use an input_event to emulate what the interrupt handler does. */ + EVENT_INIT (e); e.kind = ASCII_KEYSTROKE_EVENT; e.code = quit_char; e.arg = NULL;