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
commit1771ecf8798dd5d92547759cce34c94c05d45308 (patch)
tree28e2931be6c5f6290b4b7a57fa96373dd2131bd1 /Python/pystrtod.c
parentfa84d923ec9ed63af6b29e946b8fbfe5626ecf42 (diff)
downloadcpython-git-1771ecf8798dd5d92547759cce34c94c05d45308.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;