Skip to content
Snippets Groups Projects
Commit adf22c19 authored by Damien George's avatar Damien George
Browse files

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

parent 8f6ef8de
Branches
No related tags found
No related merge requests found
...@@ -354,9 +354,6 @@ int mp_print_float(const mp_print_t *print, mp_float_t f, char fmt, int flags, 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); int len = mp_format_float(f, buf, sizeof(buf), fmt, prec, sign);
if (len < 0) {
len = 0;
}
char *s = buf; char *s = buf;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment