DescriptionDon't use `sizeof(a) / sizeof(a)` to compute the number of elements in array a.
The interesting parts of the patch are by wtc.
Found by PVS Studio: http://www.viva64.com/en/b/0113/ , N12
BUG=100278
TEST=none
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105467
Patch Set 1 #Patch Set 2 : wtc #Messages
Total messages: 15 (0 generated)
|