diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-11-17 23:07:10 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-11-17 23:42:36 +0100 |
commit | c291b588356f751ec553d3de77996fa75b3a7515 (patch) | |
tree | cbd91b88170b7c6c1ef1e9aeb1ea37cc599c66e1 /libguile/eval.i.c | |
parent | c84bdaf6b44ce10fd5c549b8425cb57fb299c599 (diff) | |
download | guile-c291b588356f751ec553d3de77996fa75b3a7515.tar.gz |
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.
Diffstat (limited to 'libguile/eval.i.c')
-rw-r--r-- | libguile/eval.i.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libguile/eval.i.c b/libguile/eval.i.c index afbe9219c..a28a25a1b 100644 --- a/libguile/eval.i.c +++ b/libguile/eval.i.c @@ -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); |