(Fx_popup_menu): Initialize error_name to NULL.
authorThien-Thi Nguyen <ttn@gnuvola.org>
Mon, 18 Apr 2005 09:41:15 +0000 (09:41 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Mon, 18 Apr 2005 09:41:15 +0000 (09:41 +0000)
src/ChangeLog
src/xmenu.c

index 2a253f1..a9ecedf 100644 (file)
@@ -1,3 +1,7 @@
+2005-04-18  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * xmenu.c (Fx_popup_menu): Initialize error_name to NULL.
+
 2005-04-18  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
        * macterm.c (XTread_socket): Don't beep on keyboard input even if
index 63b2bf9..581a5ce 100644 (file)
@@ -771,7 +771,7 @@ cached information about equivalent key sequences.  */)
   Lisp_Object keymap, tem;
   int xpos = 0, ypos = 0;
   Lisp_Object title;
-  char *error_name;
+  char *error_name = NULL;
   Lisp_Object selection;
   FRAME_PTR f = NULL;
   Lisp_Object x, y, window;