summaryrefslogtreecommitdiff
path: root/Python
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
commit2841647d28a753849ce926b46389e8e3408511dc (patch)
tree6979f915c0dd8846f45136c594932e879c87c2ec /Python
parent4c67478cb706d6c95bd56c4ef1a00ed070b4c410 (diff)
downloadcpython-2841647d28a753849ce926b46389e8e3408511dc.tar.gz
Revert a change where an expression is not needed now, but could be in the future.
Diffstat (limited to 'Python')
-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;