DescriptionRename inner index variable to avoid variable shadowing.
Two loops were recently added that used 'i' as an index variable, inside
an outer loop that also used 'i'. This isn't a bug, but can be
confusing. This change renames the inner 'i' variables to 'j'.
The variable shadowing was introduced in this change:
https://codereview.chromium.org/932033002
This was found by the /analyze builder
BUG=427616
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190698
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|