summaryrefslogtreecommitdiffstats
path: root/Python/formatter_unicode.c
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-06-25 20:13:44 (GMT)
committerBrett Cannon <brett@python.org>2012-06-25 20:13:44 (GMT)
commit8a250fac15ecb2604461ea5753638269e342eb91 (patch)
tree642d3860d1cc08f7cbeccc45539d1bb33d135703 /Python/formatter_unicode.c
parent555bfc7ed08e25f40342d7f0bc24e5380d515bfe (diff)
downloadcpython-8a250fac15ecb2604461ea5753638269e342eb91.zip
cpython-8a250fac15ecb2604461ea5753638269e342eb91.tar.gz
cpython-8a250fac15ecb2604461ea5753638269e342eb91.tar.bz2
Comment out a dead increment.
Found by Clang's static analyzer.
Diffstat (limited to 'Python/formatter_unicode.c')
-rw-r--r--Python/formatter_unicode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/formatter_unicode.c b/Python/formatter_unicode.c
index 4b0fd91..661bf19 100644
--- a/Python/formatter_unicode.c
+++ b/Python/formatter_unicode.c
@@ -642,7 +642,7 @@ fill_number(_PyUnicodeWriter *writer, const NumberFieldWidths *spec,
writer->buffer, writer->pos,
digits, d_pos, spec->n_remainder);
writer->pos += spec->n_remainder;
- d_pos += spec->n_remainder;
+ /* d_pos += spec->n_remainder; */
}
if (spec->n_rpadding) {