diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-03-13 00:27:34 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-03-13 00:27:34 -0700 |
commit | d9df6f40e326f3f5487b7c50b99bf5112262badc (patch) | |
tree | 7926ff98290d937c28969a66e1f37b7bf0a3ffe2 /src/dispnew.c | |
parent | 2c3f72f4b5f7d00cf0131998957c24812c8f6a53 (diff) | |
download | emacs-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/dispnew.c')
-rw-r--r-- | src/dispnew.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index 9335365bc71..47adab6b8f7 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -6100,10 +6100,7 @@ init_display (void) /* If no window system has been specified, try to use the terminal. */ if (! isatty (0)) - { - fatal ("standard input is not a tty"); - exit (1); - } + fatal ("standard input is not a tty"); #ifdef WINDOWSNT terminal_type = "w32console"; |