diff options
| author | Paul Eggert | 2013-03-13 00:27:34 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-03-13 00:27:34 -0700 |
| commit | d9df6f40e326f3f5487b7c50b99bf5112262badc (patch) | |
| tree | 7926ff98290d937c28969a66e1f37b7bf0a3ffe2 /src/ChangeLog | |
| parent | 2c3f72f4b5f7d00cf0131998957c24812c8f6a53 (diff) | |
| download | emacs-d9df6f40e326f3f5487b7c50b99bf5112262badc.tar.gz emacs-d9df6f40e326f3f5487b7c50b99bf5112262badc.zip | |
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/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c0e6bd93fd0..7642393bb01 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,20 @@ | |||
| 1 | 2013-03-13 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2013-03-13 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Static checking by Sun C 5.12. | ||
| 4 | * alloc.c (buffer_memory_full) [REL_ALLOC]: | ||
| 5 | * bytecode.c (exec_byte_code): | ||
| 6 | * dispnew.c (init_display): | ||
| 7 | * eval.c (error): | ||
| 8 | * fileio.c (Fsubstitute_in_file_name): | ||
| 9 | * keyboard.c (Fevent_convert_list): | ||
| 10 | * keymap.c (Fsingle_key_description): | ||
| 11 | * term.c (maybe_fatal, fatal): | ||
| 12 | * xfns.c (Fx_display_backing_store, Fx_display_visual_class): | ||
| 13 | * xsmfns.c (Fhandle_save_session): | ||
| 14 | Omit unreachable code. | ||
| 15 | * keymap.c (map_keymap_char_table_item): Cast void * to | ||
| 16 | a function pointer type; the C Standard requires this. | ||
| 17 | |||
| 3 | * sysdep.c: Remove a use of BSD_SYSTEM, which I'm trying to phase out. | 18 | * sysdep.c: Remove a use of BSD_SYSTEM, which I'm trying to phase out. |
| 4 | Include <sys/param.h> unconditionally, as that works elsewhere and | 19 | Include <sys/param.h> unconditionally, as that works elsewhere and |
| 5 | is simpler here. Include <sys/sysctl.h> if DARWIN_OS || | 20 | is simpler here. Include <sys/sysctl.h> if DARWIN_OS || |