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/strings.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/strings.c')
-rw-r--r-- | libguile/strings.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libguile/strings.c b/libguile/strings.c index 1c74c6a1c..0ea50fdeb 100644 --- a/libguile/strings.c +++ b/libguile/strings.c @@ -1833,8 +1833,8 @@ scm_i_deprecated_string_chars (SCM str) null-terminated. */ if (IS_SH_STRING (str)) - scm_misc_error (NULL, - "SCM_STRING_CHARS does not work with shared substrings.", + scm_misc_error (NULL, + "SCM_STRING_CHARS does not work with shared substrings", SCM_EOL); /* We explicitly test for read-only strings to produce a better @@ -1842,10 +1842,10 @@ scm_i_deprecated_string_chars (SCM str) */ if (IS_RO_STRING (str)) - scm_misc_error (NULL, - "SCM_STRING_CHARS does not work with read-only strings.", + scm_misc_error (NULL, + "SCM_STRING_CHARS does not work with read-only strings", SCM_EOL); - + /* The following is still wrong, of course... */ str = scm_i_string_start_writing (str); |