summaryrefslogtreecommitdiff
path: root/libgfortran/io
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/io
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/io')
-rw-r--r--libgfortran/io/list_read.c3
1 files changed, 0 insertions, 3 deletions
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