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/fileio.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/fileio.c')
| -rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 67b4b884bc0..d468576d639 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -5507,7 +5507,7 @@ static Lisp_Object | |||
| 5507 | do_auto_save_unwind (Lisp_Object arg) /* used as unwind-protect function */ | 5507 | do_auto_save_unwind (Lisp_Object arg) /* used as unwind-protect function */ |
| 5508 | 5508 | ||
| 5509 | { | 5509 | { |
| 5510 | FILE *stream = (FILE *) XSAVE_POINTER (arg); | 5510 | FILE *stream = XSAVE_POINTER (arg); |
| 5511 | auto_saving = 0; | 5511 | auto_saving = 0; |
| 5512 | if (stream != NULL) | 5512 | if (stream != NULL) |
| 5513 | { | 5513 | { |