From 8205cce00730a834ab6da8afa25341db17914510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timur=20Krist=C3=B3f?= Date: Tue, 16 Mar 2021 20:10:51 +0100 Subject: [PATCH] aco: Use ASSERTED to avoid unused variable warning. 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_insert_exec_mask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_insert_exec_mask.cpp b/src/amd/compiler/aco_insert_exec_mask.cpp index 49367e39830..20df892d49a 100644 --- a/src/amd/compiler/aco_insert_exec_mask.cpp +++ b/src/amd/compiler/aco_insert_exec_mask.cpp @@ -234,7 +234,7 @@ void handle_exact_loops(wqm_ctx& ctx, exec_ctx& exec_ctx, unsigned preheader) } assert(parent_branch >= 0); - Block& branch = exec_ctx.program->blocks[parent_branch]; + ASSERTED Block& branch = exec_ctx.program->blocks[parent_branch]; assert(branch.kind & block_kind_branch); if (ctx.branch_wqm[parent_branch]) { /* The branch can't be done in Exact because some other blocks in it