mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
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 <luoyonggang@gmail.com> Reviewed-by: Rhys Perry <pendingchaos02@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18205>
This commit is contained in:
parent
c49e328e4f
commit
4a607c2df4
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue