summaryrefslogtreecommitdiff
path: root/src/xsmfns.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-03-13 00:27:34 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2013-03-13 00:27:34 -0700
commitd9df6f40e326f3f5487b7c50b99bf5112262badc (patch)
tree7926ff98290d937c28969a66e1f37b7bf0a3ffe2 /src/xsmfns.c
parent2c3f72f4b5f7d00cf0131998957c24812c8f6a53 (diff)
downloademacs-d9df6f40e326f3f5487b7c50b99bf5112262badc.tar.gz
Static checking by Sun C 5.12.
* lib-src/etags.c (analyse_regex): Omit unreachable code. * src/alloc.c (buffer_memory_full) [REL_ALLOC]: * src/bytecode.c (exec_byte_code): * src/dispnew.c (init_display): * src/eval.c (error): * src/fileio.c (Fsubstitute_in_file_name): * src/keyboard.c (Fevent_convert_list): * src/keymap.c (Fsingle_key_description): * src/term.c (maybe_fatal, fatal): * src/xfns.c (Fx_display_backing_store, Fx_display_visual_class): * src/xsmfns.c (Fhandle_save_session): Omit unreachable code. * src/keymap.c (map_keymap_char_table_item): Cast void * to a function pointer type; the C Standard requires this.
Diffstat (limited to 'src/xsmfns.c')
-rw-r--r--src/xsmfns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xsmfns.c b/src/xsmfns.c
index fe2dfbaf83e..cb7122202df 100644
--- a/src/xsmfns.c
+++ b/src/xsmfns.c
@@ -514,9 +514,11 @@ Do not call this function yourself. */)
prevent. Fix this in next version. */
Fkill_emacs (Qnil);
+#if 0
/* This will not be reached, but we want kill-emacs-hook to be run. */
SmcCloseConnection (smc_conn, 0, 0);
ice_connection_closed ();
+#endif
}
return Qnil;