summaryrefslogtreecommitdiff
path: root/Python/pystrtod.c
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2010-05-05 20:35:24 +0000
committerBrett Cannon <bcannon@gmail.com>2010-05-05 20:35:24 +0000
commitadb4f01510fa6b870da87efbd2b051769a640892 (patch)
treee57230c0016ae07aa30d139ded5881667d34ec87 /Python/pystrtod.c
parent9ac4cc7986b7efe68e7f5aec496eb662f26369fc (diff)
downloadcpython-adb4f01510fa6b870da87efbd2b051769a640892.tar.gz
Remove an unnecessary variable assignment.
Found using Clang's static analyzer.
Diffstat (limited to 'Python/pystrtod.c')
-rw-r--r--Python/pystrtod.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/pystrtod.c b/Python/pystrtod.c
index 909e0210ea..16dac81ff6 100644
--- a/Python/pystrtod.c
+++ b/Python/pystrtod.c
@@ -1005,7 +1005,6 @@ 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;