diff options
| author | Paul Eggert | 2013-01-14 09:46:14 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-01-14 09:46:14 -0800 |
| commit | c50cf2eac4b18e38bef5b6e58827cc2bce1e98f4 (patch) | |
| tree | 56685b68573608bf284b55d0996cc471fda34366 /src/keymap.c | |
| parent | 57dd9e68862eeb452388b07c855a8112c3a7b22f (diff) | |
| download | emacs-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/keymap.c')
| -rw-r--r-- | src/keymap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/keymap.c b/src/keymap.c index 7b5aa45ebf3..82c9e980221 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -565,8 +565,7 @@ map_keymap_char_table_item (Lisp_Object args, Lisp_Object key, Lisp_Object val) | |||
| 565 | { | 565 | { |
| 566 | if (!NILP (val)) | 566 | if (!NILP (val)) |
| 567 | { | 567 | { |
| 568 | map_keymap_function_t fun | 568 | map_keymap_function_t fun = XSAVE_POINTER (XCAR (args)); |
| 569 | = (map_keymap_function_t) XSAVE_POINTER (XCAR (args)); | ||
| 570 | args = XCDR (args); | 569 | args = XCDR (args); |
| 571 | /* If the key is a range, make a copy since map_char_table modifies | 570 | /* If the key is a range, make a copy since map_char_table modifies |
| 572 | it in place. */ | 571 | it in place. */ |