summaryrefslogtreecommitdiff
path: root/Python/formatter_unicode.c
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2012-06-25 16:13:44 -0400
committerBrett Cannon <brett@python.org>2012-06-25 16:13:44 -0400
commitf00bb7f434a0e6b04549de35efe8329bf388d377 (patch)
tree46b5ceda5fa9be80708a6a2d3b1e3e5b964c401a /Python/formatter_unicode.c
parent3ea24a4b92242d60759b0e211058a9c4e767cb6d (diff)
downloadcpython-f00bb7f434a0e6b04549de35efe8329bf388d377.tar.gz
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 4b0fd91489..661bf192e9 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) {