fix: r600/sb: warning: unused variable ‘{b,nl}’ [-Wunused-variable]

Only used in debug builds.

Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Reviewed-by: Mihai Preda <mhpreda@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18643>
This commit is contained in:
Kai Wasserbäch
2022-09-17 18:08:43 +02:00
committed by Marge Bot
parent 5224ee2d8f
commit 5efce78fd9
+2 -2
View File
@@ -619,7 +619,7 @@ bool alu_group_tracker::try_reserve(alu_node* n) {
alu_node *a = slots[i];
if (a) {
a->bc.bank_swizzle = save_bs[i];
bool b = gpr.try_reserve(a);
ASSERTED bool b = gpr.try_reserve(a);
assert(b);
}
}
@@ -2092,7 +2092,7 @@ bool alu_kcache_tracker::try_reserve(alu_group_tracker& gt) {
sb_set<unsigned> group_lines;
unsigned nl = kt.get_lines(group_lines);
ASSERTED unsigned nl = kt.get_lines(group_lines);
assert(nl);
sb_set<unsigned> clause_lines(lines);