diff options
author | Brett Cannon <bcannon@gmail.com> | 2010-05-05 20:35:24 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2010-05-05 20:35:24 +0000 |
commit | adb4f01510fa6b870da87efbd2b051769a640892 (patch) | |
tree | e57230c0016ae07aa30d139ded5881667d34ec87 /Python | |
parent | 9ac4cc7986b7efe68e7f5aec496eb662f26369fc (diff) | |
download | cpython-adb4f01510fa6b870da87efbd2b051769a640892.tar.gz |
Remove an unnecessary variable assignment.
Found using Clang's static analyzer.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pystrtod.c | 1 |
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; |