Do not shadow local variables

This commit is contained in:
Pavel Janík
2016-06-07 21:22:48 +02:00
parent 79004d4ae6
commit c2715d3ab8
4 changed files with 8 additions and 8 deletions

View File

@@ -192,8 +192,8 @@ BOOST_AUTO_TEST_CASE(PrevectorTestInt)
if (((r >> 21) % 32) == 7) {
int values[4];
int num = 1 + (insecure_rand() % 4);
for (int i = 0; i < num; i++) {
values[i] = insecure_rand();
for (int k = 0; k < num; k++) {
values[k] = insecure_rand();
}
test.insert_range(insecure_rand() % (test.size() + 1), values, values + num);
}