summaryrefslogtreecommitdiff
path: root/Python/pystrtod.c
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2010-05-05 23:11:08 +0000
committerBrett Cannon <bcannon@gmail.com>2010-05-05 23:11:08 +0000
commitf4f0bf850bc99f5d70a4d8ffe1e0126d8c46b1ec (patch)
treeb70678f0227604cd23f416fee43f423c5c838df6 /Python/pystrtod.c
parent481ab89b75d197cf11dd3cf0df71477dc8884d2d (diff)
downloadcpython-git-f4f0bf850bc99f5d70a4d8ffe1e0126d8c46b1ec.tar.gz
Revert a change where an expression is not needed now, but could be in the future.
Diffstat (limited to 'Python/pystrtod.c')
-rw-r--r--Python/pystrtod.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pystrtod.c b/Python/pystrtod.c
index 16dac81ff6..909e0210ea 100644
--- a/Python/pystrtod.c
+++ b/Python/pystrtod.c
@@ -1005,6 +1005,7 @@ format_float_short(double d, char format_code,
/* 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;
assert(0);
}
goto exit;