Mercurial > emacs
changeset 40476:18b1b133e5c1
(Fx_popup_menu): Explicitly init f, xpos, and ypos.
(Fx_popup_dialog): Explicitly init f.
(w32_menu_display_help): Use empty_string.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 30 Oct 2001 03:38:24 +0000 |
parents | 3bf0c64f4520 |
children | a56267e601e4 |
files | src/w32menu.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32menu.c Tue Oct 30 03:31:32 2001 +0000 +++ b/src/w32menu.c Tue Oct 30 03:38:24 2001 +0000 @@ -620,11 +620,11 @@ Lisp_Object position, menu; { Lisp_Object keymap, tem; - int xpos, ypos; + int xpos = 0, ypos = 0; Lisp_Object title; char *error_name; Lisp_Object selection; - FRAME_PTR f; + FRAME_PTR f = NULL; Lisp_Object x, y, window; int keymaps = 0; int for_click = 0; @@ -825,7 +825,7 @@ (position, contents) Lisp_Object position, contents; { - FRAME_PTR f; + FRAME_PTR f = NULL; Lisp_Object window; check_w32 (); @@ -2201,7 +2201,7 @@ pane_name = first_item[MENU_ITEMS_PANE_NAME]; else if (EQ (first_item[0], Qquote)) /* This shouldn't happen, see w32_menu_show. */ - pane_name = build_string (""); + pane_name = empty_string; else pane_name = first_item[MENU_ITEMS_ITEM_NAME];