summaryrefslogtreecommitdiff
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2006-11-19 01:24:41 +0000
committerAndreas Schwab <schwab@suse.de>2006-11-19 01:24:41 +0000
commit9397721973fd1bf9dbf7e59a95f3faaa4cd31abc (patch)
tree320be524a7811208f7c91f72aa1cd0eb409dd5a6 /src/xmenu.c
parent1d5a4641f7fcbfa31b6bd869b4854e47f296db83 (diff)
downloademacs-9397721973fd1bf9dbf7e59a95f3faaa4cd31abc.tar.gz
(Fx_popup_menu): Initialize selection.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 037422abde1..80565f387b8 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -822,7 +822,7 @@ no quit occurs and `x-popup-menu' returns nil. */)
int xpos = 0, ypos = 0;
Lisp_Object title;
char *error_name = NULL;
- Lisp_Object selection;
+ Lisp_Object selection = Qnil;
FRAME_PTR f = NULL;
Lisp_Object x, y, window;
int keymaps = 0;