r600/sb: silence a sometimes-uninitialized warning

Fixes a warning from clang

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14296>
This commit is contained in:
Thomas H.P. Andersen 2021-12-23 02:05:47 +01:00 committed by Marge Bot
parent 2a4c56e4e3
commit 9e2f1f05c6
1 changed files with 1 additions and 1 deletions

View File

@ -1014,7 +1014,7 @@ bool expr_handler::fold_alu_op3(alu_node& n) {
value *mv0 = md->src[0]->gvalue();
value *mv1 = md->src[1]->gvalue();
int es0 = -1, es1;
int es0 = -1, es1 = -1;
if (v0 == mv0) {
es0 = 0;