From: Thien-Thi Nguyen Date: Mon, 18 Apr 2005 09:41:15 +0000 (+0000) Subject: (Fx_popup_menu): Initialize error_name to NULL. X-Git-Tag: ttn-vms-21-2-B4~930 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=999cdb8fc7062b88e16d91f465c2e8beb964b431;p=emacs.git (Fx_popup_menu): Initialize error_name to NULL. --- diff --git a/src/ChangeLog b/src/ChangeLog index 2a253f1f8fc..a9ecedf1c53 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-04-18 Thien-Thi Nguyen + + * xmenu.c (Fx_popup_menu): Initialize error_name to NULL. + 2005-04-18 YAMAMOTO Mitsuharu * macterm.c (XTread_socket): Don't beep on keyboard input even if diff --git a/src/xmenu.c b/src/xmenu.c index 63b2bf95f91..581a5ce6cd2 100644 --- a/src/xmenu.c +++ b/src/xmenu.c @@ -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;