Fix variable initialization in test commands

This commit is contained in:
noobpwnftw
2020-09-29 17:30:08 +08:00
parent a8b502a975
commit d865159bd6

View File

@@ -56,7 +56,7 @@ void TestFeatures(Position& pos) {
auto update_index_sets = [&](const Position& position, auto* index_sets) {
for (IndexType i = 0; i < kRefreshTriggers.size(); ++i) {
Features::IndexList removed_indices[2], added_indices[2];
bool reset[2];
bool reset[2] = { false, false };
RawFeatures::AppendChangedIndices(position, kRefreshTriggers[i],
removed_indices, added_indices, reset);
for (const auto perspective : Colors) {