Fix pvs warnings.

This commit is contained in:
Nikolai Kochetov 2020-03-24 15:32:33 +03:00
parent 5400ffbf93
commit 778be3174a

View File

@ -262,7 +262,7 @@ TEST(WeakHash32, ColumnDecimal32)
for (int _i [[maybe_unused]] : {1, 2})
{
for (int64_t i = -32768; i < 32768; ++i)
data.push_back(i << 16);
data.push_back(i << 16); //-V610
}
WeakHash32 hash(col->size());
@ -279,7 +279,7 @@ TEST(WeakHash32, ColumnDecimal64)
for (int _i [[maybe_unused]] : {1, 2})
{
for (int64_t i = -32768; i < 32768; ++i)
data.push_back(i << 32);
data.push_back(i << 32); //-V610
}
WeakHash32 hash(col->size());