summaryrefslogtreecommitdiff
path: root/libgfortran/io
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/io')
-rw-r--r--libgfortran/io/read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgfortran/io/read.c b/libgfortran/io/read.c
index fb39877012c..a8ae3d73f53 100644
--- a/libgfortran/io/read.c
+++ b/libgfortran/io/read.c
@@ -972,14 +972,14 @@ read_f (st_parameter_dt *dtp, const fnode *f, char *dest, int length)
while (w > 0)
{
if (*p != ' ')
- goto bad_float;
+ goto bad_float;
p++;
w--;
}
}
else /* BZ or BN status is enabled */
{
- while (w > 0 && (isdigit (*p) || *p == ' '))
+ while (w > 0)
{
if (*p == ' ')
{