From 1771ecf8798dd5d92547759cce34c94c05d45308 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Wed, 5 May 2010 20:35:24 +0000 Subject: Remove an unnecessary variable assignment. Found using Clang's static analyzer. --- Python/pystrtod.c | 1 - 1 file changed, 1 deletion(-) 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; -- cgit v0.12