]> git.eshelyaron.com Git - emacs.git/commitdiff
* keyboard.c (read_char): Mark local as initialized.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 14 Mar 2011 15:28:09 +0000 (08:28 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 14 Mar 2011 15:28:09 +0000 (08:28 -0700)
src/ChangeLog
src/keyboard.c

index 1cdeefff8999ccda80ff808e65c5990d82988f41..685ba3c7e9a1db8571dd5ebdb6b905d77d667795 100644 (file)
@@ -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.
index afa781841796fd2b450bb4c2c3cd4f63d779aeee..05b6abe97b398ac5f90e98b0993a33df0d69a1fb 100644 (file)
@@ -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)
        {