mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-23 03:54:12 +02:00
Fix stylistic issues revealed by "make syntax-check".
* libguile/gc-malloc.c (scm_must_free): Remove unnecessary `if' before `free ()'. * libguile/stime.c (scm_localtime, scm_mktime): Likewise. * libguile/eval.i.c (ceval): Don't cast the result of alloca(3). * libguile/i18n.c (SCM_STRING_TO_U32_BUF): Likewise. * test-suite/standalone/test-unwind.c: Likewise. * libguile/strings.c (scm_i_deprecated_string_chars): Don't end error message in period.
This commit is contained in:
parent
c84bdaf6b4
commit
c291b58835
6 changed files with 15 additions and 23 deletions
|
@ -221,8 +221,7 @@ CEVAL (SCM x, SCM env)
|
|||
*
|
||||
* Even frames are eval frames, odd frames are apply frames.
|
||||
*/
|
||||
debug.vect = (scm_t_debug_info *) alloca (scm_debug_eframe_size
|
||||
* sizeof (scm_t_debug_info));
|
||||
debug.vect = alloca (scm_debug_eframe_size * sizeof (scm_t_debug_info));
|
||||
debug.info = debug.vect;
|
||||
debug_info_end = debug.vect + scm_debug_eframe_size;
|
||||
scm_i_set_last_debug_frame (&debug);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue