diff options
| author | Brett Cannon <bcannon@gmail.com> | 2011-02-22 20:15:44 +0000 |
|---|---|---|
| committer | Brett Cannon <bcannon@gmail.com> | 2011-02-22 20:15:44 +0000 |
| commit | ffbf24bf0cc297d080d6d68bc809a9c156c49123 (patch) | |
| tree | 784a982964a18755673f3d95a8d98eadb333671e /Python/pystrtod.c | |
| parent | d563a72e39fd9aa04119460ee7981b9f2287a19d (diff) | |
| download | cpython-ffbf24bf0cc297d080d6d68bc809a9c156c49123.tar.gz | |
Issue #8914: fix various warnings from the Clang static analyzer v254.
Diffstat (limited to 'Python/pystrtod.c')
| -rw-r--r-- | Python/pystrtod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pystrtod.c b/Python/pystrtod.c index 75e3032fb7..7bf21c0bc1 100644 --- a/Python/pystrtod.c +++ b/Python/pystrtod.c @@ -954,7 +954,7 @@ 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; + /* p += 3; */ assert(0); } goto exit; |
