]> granicus.if.org Git - python/commitdiff
Comment out a dead increment.
authorBrett Cannon <brett@python.org>
Mon, 25 Jun 2012 20:13:44 +0000 (16:13 -0400)
committerBrett Cannon <brett@python.org>
Mon, 25 Jun 2012 20:13:44 +0000 (16:13 -0400)
Found by Clang's static analyzer.

Python/formatter_unicode.c

index 4b0fd91489a76900ad3ab53809caf80b372a3346..661bf192e9e15dd8afab4affebd0d9d257a60679 100644 (file)
@@ -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) {