From 020c3c403f0420dff9bf090e3abe2a91ea5e85f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timur=20Krist=C3=B3f?= Date: Fri, 14 May 2021 15:57:47 +0200 Subject: [PATCH] aco/util: Initialize IDSet::bits_set to zero. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Timur Kristóf Reviewed-by: Rhys Perry Part-of: --- src/amd/compiler/aco_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_util.h b/src/amd/compiler/aco_util.h index 98c96857ca6..a4eb7aed2a2 100644 --- a/src/amd/compiler/aco_util.h +++ b/src/amd/compiler/aco_util.h @@ -346,7 +346,7 @@ struct IDSet { } std::vector words; - uint32_t bits_set; + uint32_t bits_set = 0; }; inline IDSet::Iterator& IDSet::Iterator::operator ++() {