summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2010-05-05 20:35:24 (GMT)
committerBrett Cannon <bcannon@gmail.com>2010-05-05 20:35:24 (GMT)
commit1771ecf8798dd5d92547759cce34c94c05d45308 (patch)
tree28e2931be6c5f6290b4b7a57fa96373dd2131bd1 /Python
parentfa84d923ec9ed63af6b29e946b8fbfe5626ecf42 (diff)
downloadcpython-1771ecf8798dd5d92547759cce34c94c05d45308.zip
cpython-1771ecf8798dd5d92547759cce34c94c05d45308.tar.gz
cpython-1771ecf8798dd5d92547759cce34c94c05d45308.tar.bz2
Remove an unnecessary variable assignment.
Found using Clang's static analyzer.
Diffstat (limited to 'Python')
-rw-r--r--Python/pystrtod.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/pystrtod.c b/Python/pystrtod.c
index 909e021..16dac81 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;