mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-22 19:44:10 +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
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2004, 2005, 2008 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2004, 2005, 2008, 2009 Free Software Foundation, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public License
|
||||
|
@ -206,8 +206,7 @@ check_ports ()
|
|||
if (tmpdir == NULL)
|
||||
tmpdir = "/tmp";
|
||||
|
||||
filename = (char *) alloca (strlen (tmpdir) +
|
||||
sizeof (FILENAME_TEMPLATE) + 1);
|
||||
filename = alloca (strlen (tmpdir) + sizeof (FILENAME_TEMPLATE) + 1);
|
||||
strcpy (filename, tmpdir);
|
||||
strcat (filename, FILENAME_TEMPLATE);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue