aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2013-03-13 00:27:34 -0700
committerPaul Eggert2013-03-13 00:27:34 -0700
commitd9df6f40e326f3f5487b7c50b99bf5112262badc (patch)
tree7926ff98290d937c28969a66e1f37b7bf0a3ffe2 /src/alloc.c
parent2c3f72f4b5f7d00cf0131998957c24812c8f6a53 (diff)
downloademacs-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/alloc.c')
-rw-r--r--src/alloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 80086433e65..b2703c5f961 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -422,11 +422,11 @@ buffer_memory_full (ptrdiff_t nbytes)
422 422
423#ifndef REL_ALLOC 423#ifndef REL_ALLOC
424 memory_full (nbytes); 424 memory_full (nbytes);
425#endif 425#else
426
427 /* This used to call error, but if we've run out of memory, we could 426 /* This used to call error, but if we've run out of memory, we could
428 get infinite recursion trying to build the string. */ 427 get infinite recursion trying to build the string. */
429 xsignal (Qnil, Vmemory_signal_data); 428 xsignal (Qnil, Vmemory_signal_data);
429#endif
430} 430}
431 431
432/* A common multiple of the positive integers A and B. Ideally this 432/* A common multiple of the positive integers A and B. Ideally this