diff options
Diffstat (limited to 'libjava/java/lang/strtod.c')
-rw-r--r-- | libjava/java/lang/strtod.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/libjava/java/lang/strtod.c b/libjava/java/lang/strtod.c index e0e8e74828b..1777b1aae8a 100644 --- a/libjava/java/lang/strtod.c +++ b/libjava/java/lang/strtod.c @@ -242,16 +242,15 @@ dig_done: if (esign) e = -e; } - else - { - /* No exponent after an 'E' : that's an error. */ - ptr->_errno = EINVAL; - e = 0; - goto ret; - } } else - s = s00; + { + /* No exponent after an 'E' : that's an error. */ + ptr->_errno = EINVAL; + e = 0; + s = s00; + goto ret; + } } if (!nd) { |