From: Paul Eggert Date: Mon, 14 Mar 2011 15:28:09 +0000 (-0700) Subject: * keyboard.c (read_char): Mark local as initialized. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~554^2~110 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c8a06054fc9dfb6dcb8c8a77a09657a10212cf4e;p=emacs.git * keyboard.c (read_char): Mark local as initialized. --- diff --git a/src/ChangeLog b/src/ChangeLog index 1cdeefff899..685ba3c7e9a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -8,7 +8,7 @@ (decode_keyboard_code, tty_read_avail_input, menu_bar_items): (parse_tool_bar_item, read_key_sequence, Fread_key_sequence): (Fread_key_sequence_vector): Rename locals to avoid shadowing. - (read_key_sequence): Mark locals as initialized. + (read_key_sequence, read_char): Mark locals as initialized. (Fexit_recursive_edit, Fabort_recursive_edit): Mark with NO_RETURN. * keyboard.h (make_ctrl_char): New decl. diff --git a/src/keyboard.c b/src/keyboard.c index afa78184179..05b6abe97b3 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -2694,7 +2694,7 @@ read_char (int commandflag, int nmaps, Lisp_Object *maps, Lisp_Object prev_event if (NILP (c)) { - KBOARD *kb; + KBOARD *kb IF_LINT (= NULL); if (end_time) {