py/mpprint: Remove unreachable check for neg return of mp_format_float.

This commit is contained in:
Damien George 2017-06-30 12:10:50 +10:00
parent 8f6ef8de48
commit adf22c19ae
1 changed files with 0 additions and 3 deletions

View File

@ -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;