summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib/gdtoa-hexnan.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/gdtoa-hexnan.c')
-rw-r--r--newlib/libc/stdlib/gdtoa-hexnan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdlib/gdtoa-hexnan.c b/newlib/libc/stdlib/gdtoa-hexnan.c
index 058bbd17d..189fb238d 100644
--- a/newlib/libc/stdlib/gdtoa-hexnan.c
+++ b/newlib/libc/stdlib/gdtoa-hexnan.c
@@ -98,7 +98,7 @@ _DEFUN (hexnan, (sp, fpi, x0),
}
continue;
}
- if (/*(*/ c == ')' && havedig) {
+ if (/*(*/ c == ')') {
*sp = s + 1;
break;
}