diff Python/pystrtod.c @ 68102:e2f96bd29252

Issue #8914: fix various warnings from the Clang static analyzer v254.
author Brett Cannon <bcannon@gmail.com>
date Tue, 22 Feb 2011 20:15:44 +0000
parents cab14be0ada1
children b39270c6b8d1
line wrap: on
line diff
--- a/Python/pystrtod.c	Tue Feb 22 19:24:33 2011 +0000
+++ b/Python/pystrtod.c	Tue Feb 22 20:15:44 2011 +0000
@@ -954,7 +954,7 @@
             /* 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;
+            /* p += 3; */
             assert(0);
         }
         goto exit;