aboutsummaryrefslogtreecommitdiffstats
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorPaul Eggert2013-01-14 09:46:14 -0800
committerPaul Eggert2013-01-14 09:46:14 -0800
commitc50cf2eac4b18e38bef5b6e58827cc2bce1e98f4 (patch)
tree56685b68573608bf284b55d0996cc471fda34366 /src/xmenu.c
parent57dd9e68862eeb452388b07c855a8112c3a7b22f (diff)
downloademacs-c50cf2eac4b18e38bef5b6e58827cc2bce1e98f4.tar.gz
emacs-c50cf2eac4b18e38bef5b6e58827cc2bce1e98f4.zip
Avoid needless casts with XSAVE_POINTER.
* alloc.c (mark_object) [GC_MARK_STACK]: * dired.c (directory_files_internal_unwind): * fileio.c (do_auto_save_unwind): * gtkutil.c (pop_down_dialog): * keymap.c (map_keymap_char_table_item): * lread.c (load_unwind): * nsmenu.m (pop_down_menu): * print.c (print_object) [GC_MARK_STACK]: * xfns.c (clean_up_file_dialog): * xmenu.c (cleanup_widget_value_tree): Omit casts between XSAVE_POINTER and a pointer type.
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 cbb5a3dc77e..6d880993d19 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -1610,7 +1610,7 @@ create_and_show_popup_menu (FRAME_PTR f, widget_value *first_wv,
1610static Lisp_Object 1610static Lisp_Object
1611cleanup_widget_value_tree (Lisp_Object arg) 1611cleanup_widget_value_tree (Lisp_Object arg)
1612{ 1612{
1613 free_menubar_widget_value_tree ((widget_value *) XSAVE_POINTER (arg)); 1613 free_menubar_widget_value_tree (XSAVE_POINTER (arg));
1614 return Qnil; 1614 return Qnil;
1615} 1615}
1616 1616