From 0d194a70c6497ea77bb57aa22e229c4fceabb653 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timur=20Krist=C3=B3f?= Date: Sat, 22 Aug 2020 20:41:45 +0200 Subject: [PATCH] aco: Fix unused variable warning by adding ASSERTED. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Timur Kristóf Reviewed-by: Daniel Schürmann Part-of: --- src/amd/compiler/aco_interface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_interface.cpp b/src/amd/compiler/aco_interface.cpp index 8f45f503a82..49379cb3169 100644 --- a/src/amd/compiler/aco_interface.cpp +++ b/src/amd/compiler/aco_interface.cpp @@ -48,7 +48,7 @@ static void validate(aco::Program *program) if (!(aco::debug_flags & aco::DEBUG_VALIDATE_IR)) return; - bool is_valid = aco::validate_ir(program); + ASSERTED bool is_valid = aco::validate_ir(program); assert(is_valid); } -- 2.30.2