mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-11 22:31:12 +02:00
* strports.c (scm_eval_0str): Don't return uninitialized garbage
if EXPR contains no expressions.
This commit is contained in:
parent
3323ad081e
commit
407775cb81
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ scm_eval_0str (expr)
|
|||
SCM_OPN | SCM_RDNG,
|
||||
"scm_eval_0str");
|
||||
SCM form;
|
||||
SCM ans;
|
||||
SCM ans = SCM_EOL;
|
||||
|
||||
/* Read expressions from that port; ignore the values. */
|
||||
while ((form = scm_read (port, SCM_BOOL_F, SCM_BOOL_F)) != SCM_EOF_VAL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue