Commit f5309fc4 authored by Damien George's avatar Damien George

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

parent 103ae43f
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment