Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a250fa

Browse files
committed
Comment out a dead increment.
Found by Clang's static analyzer.
1 parent 555bfc7 commit 8a250fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/formatter_unicode.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ fill_number(_PyUnicodeWriter *writer, const NumberFieldWidths *spec,
642642
writer->buffer, writer->pos,
643643
digits, d_pos, spec->n_remainder);
644644
writer->pos += spec->n_remainder;
645-
d_pos += spec->n_remainder;
645+
/* d_pos += spec->n_remainder; */
646646
}
647647

648648
if (spec->n_rpadding) {

0 commit comments

Comments
 (0)