aboutsummaryrefslogtreecommitdiff
path: root/py/mpprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpprint.c')
-rw-r--r--py/mpprint.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/py/mpprint.c b/py/mpprint.c
index 4bc45fef4..0afd8ca3b 100644
--- a/py/mpprint.c
+++ b/py/mpprint.c
@@ -354,9 +354,6 @@ int mp_print_float(const mp_print_t *print, mp_float_t f, char fmt, int flags, c
}
int len = mp_format_float(f, buf, sizeof(buf), fmt, prec, sign);
- if (len < 0) {
- len = 0;
- }
char *s = buf;