From 0746feaac073d2c06db35f07f2214738c33c38ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20Wasserb=C3=A4ch?= Date: Sat, 17 Sep 2022 13:39:19 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20gallivm:=20variable=20=E2=80=98type=5Fki?= =?UTF-8?q?nd=E2=80=99=20set=20but=20not=20used=20[-Wunused-but-set-variab?= =?UTF-8?q?le]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only used in debug builds. Signed-off-by: Kai Wasserbäch Reviewed-by: Mihai Preda Part-of: --- src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.c b/src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.c index 92c13e0b9f8..976eceef36f 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.c @@ -65,7 +65,7 @@ build_binary_int_overflow(struct gallivm_state *gallivm, LLVMBuilderRef builder = gallivm->builder; char intr_str[256]; LLVMTypeRef type_ref; - LLVMTypeKind type_kind; + ASSERTED LLVMTypeKind type_kind; unsigned type_width; LLVMTypeRef oelems[2]; LLVMValueRef oresult;