From c8a06054fc9dfb6dcb8c8a77a09657a10212cf4e Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 14 Mar 2011 08:28:09 -0700 Subject: [PATCH] * keyboard.c (read_char): Mark local as initialized. --- src/ChangeLog | 2 +- src/keyboard.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.39.5