changeset 23459:bab640501294

(parse_menu_item): Avoid initialization for Lisp_Object. (command_loop): Likewise.
author Richard M. Stallman <rms@gnu.org>
date Wed, 14 Oct 1998 12:59:30 +0000
parents f68b71f7b9fd
children 94f4ba741f22
files src/keyboard.c
diffstat 1 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Wed Oct 14 12:49:31 1998 +0000
+++ b/src/keyboard.c	Wed Oct 14 12:59:30 1998 +0000
@@ -1059,7 +1059,8 @@
 {
   if (command_loop_level > 0 || minibuf_level > 0)
     {
-      Lisp_Object val = internal_catch (Qexit, command_loop_2, Qnil);
+      Lisp_Object val;
+      val = internal_catch (Qexit, command_loop_2, Qnil);
       executing_macro = Qnil;
       return val;
     }
@@ -5836,12 +5837,16 @@
      int notreal, inmenubar;
 {
   Lisp_Object def, tem, item_string, start;
-  Lisp_Object cachelist = Qnil;
-  Lisp_Object filter = Qnil;
-  Lisp_Object keyhint = Qnil;
+  Lisp_Object cachelist;
+  Lisp_Object filter;
+  Lisp_Object keyhint;
   int i;
   int newcache = 0;
 
+  cachelist = Qnil;
+  filter = Qnil;
+  keyhint = Qnil;
+
   if (!CONSP (item))
     return 0;