From 4a607c2df49b24eca41f658fd7b800f20b4dfb5f Mon Sep 17 00:00:00 2001 From: Yonggang Luo Date: Tue, 23 Aug 2022 12:23:01 +0800 Subject: [PATCH] amd/compiler: Fixes warning [-Wunused-variable] in test_to_hw_instr.cpp Warning message: ../src/amd/compiler/tests/test_to_hw_instr.cpp:793:12: warning: unused variable 'reg_s1' [-Wunused-variable] Signed-off-by: Yonggang Luo Reviewed-by: Rhys Perry Part-of: --- src/amd/compiler/tests/test_to_hw_instr.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/amd/compiler/tests/test_to_hw_instr.cpp b/src/amd/compiler/tests/test_to_hw_instr.cpp index 38a95eacc1e..d120e2475dd 100644 --- a/src/amd/compiler/tests/test_to_hw_instr.cpp +++ b/src/amd/compiler/tests/test_to_hw_instr.cpp @@ -790,7 +790,6 @@ BEGIN_TEST(to_hw_instr.copy_linear_vgpr_scc) return; PhysReg reg_s0{0}; - PhysReg reg_s1{1}; PhysReg v0_lo{256}; PhysReg v0_b3{256}; v0_b3.reg_b += 3;