py/formatfloat: Don't post-increment variable that won't be used again.

crypto-aes
Damien George 6 years ago
parent 103ae43f95
commit f5309fc4ff

@ -118,7 +118,7 @@ int mp_format_float(FPTYPE f, char *buf, size_t buf_size, char fmt, int prec, ch
*s++ = '?';
}
if (buf_size >= 1) {
*s++ = '\0';
*s = '\0';
}
return buf_size >= 2;
}

Loading…
Cancel
Save