aco/util: Initialize IDSet::bits_set to zero.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10806>
This commit is contained in:
Timur Kristóf 2021-05-14 15:57:47 +02:00 committed by Marge Bot
parent c4f6e4d6b0
commit 020c3c403f

View file

@ -346,7 +346,7 @@ struct IDSet {
}
std::vector<uint64_t> words;
uint32_t bits_set;
uint32_t bits_set = 0;
};
inline IDSet::Iterator& IDSet::Iterator::operator ++() {