From 9fb84157595a385f15799e5d0729c1e1b0ba9d38 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Sun, 11 Mar 2018 15:15:10 +0530 Subject: [PATCH] Drop confusing commented out code in pystrtod.c (GH-6072) --- Python/pystrtod.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/Python/pystrtod.c b/Python/pystrtod.c index 601f7c691ed..3546d44c842 100644 --- a/Python/pystrtod.c +++ b/Python/pystrtod.c @@ -1060,8 +1060,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;