summaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-23 05:00:42 +0000
committerjvdelisle <jvdelisle@138bc75d-0d04-0410-961f-82ee72b054a4>2010-02-23 05:00:42 +0000
commit2bba373e2de7966fc9ffaa2fa44b5c0e6d95973a (patch)
tree1e8d720168a6c1de6aea9aec0511fb3f9752dfdf /libgfortran
parentc940df4aac5054c53ba460c023826ffc9d9907ab (diff)
downloadgcc-2bba373e2de7966fc9ffaa2fa44b5c0e6d95973a.tar.gz
2010-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* io/list_read.c (list_formatted_read_scalar): Remove duplicate code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156988 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog4
-rw-r--r--libgfortran/io/list_read.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index cd99c41a3e4..0d33a7df2ef 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,7 @@
+2010-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
+
+ * io/list_read.c (list_formatted_read_scalar): Remove duplicate code.
+
2010-02-09 Tobias Burnus <burnus@net-b.de>
PR fortran/42996
diff --git a/libgfortran/io/list_read.c b/libgfortran/io/list_read.c
index e918b30e697..afd5b457f75 100644
--- a/libgfortran/io/list_read.c
+++ b/libgfortran/io/list_read.c
@@ -1735,9 +1735,6 @@ list_formatted_read_scalar (st_parameter_dt *dtp, volatile bt type, void *p,
if (dtp->u.p.input_complete)
goto cleanup;
- if (dtp->u.p.input_complete)
- goto cleanup;
-
if (dtp->u.p.at_eol)
finish_separator (dtp);
else