From: Brett Cannon Date: Wed, 5 May 2010 20:35:24 +0000 (+0000) Subject: Remove an unnecessary variable assignment. X-Git-Tag: v2.7b2~63 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1771ecf8798dd5d92547759cce34c94c05d45308;p=thirdparty%2FPython%2Fcpython.git Remove an unnecessary variable assignment. Found using Clang's static analyzer. --- diff --git a/Python/pystrtod.c b/Python/pystrtod.c index 909e0210ea2c..16dac81ff61c 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;