# HG changeset patch # User Stefan Monnier # Date 1004413104 0 # Node ID 18b1b133e5c1b94d4ed851eefc8fbaf60c700df3 # Parent 3bf0c64f45208406a5ed30c5937ad99ab4c7d677 (Fx_popup_menu): Explicitly init f, xpos, and ypos. (Fx_popup_dialog): Explicitly init f. (w32_menu_display_help): Use empty_string. diff -r 3bf0c64f4520 -r 18b1b133e5c1 src/w32menu.c --- 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];