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:
@@ -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 ++() {
|
||||
|
||||
Reference in New Issue
Block a user