diff --git a/Python/pystrtod.c b/Python/pystrtod.c index 141a47a8999..461e8dcb5e0 100644 --- a/Python/pystrtod.c +++ b/Python/pystrtod.c @@ -1062,8 +1062,6 @@ format_float_short(double d, char format_code, else { /* shouldn't get here: Gay's code should always return something starting with a digit, an 'I', or 'N' */ - strncpy(p, "ERR", 3); - /* p += 3; */ Py_UNREACHABLE(); } goto exit;