From 0dc07f5cce72cce47b1a2787a910aeb5edc2a65e Mon Sep 17 00:00:00 2001 From: Elizabeth Figura Date: Wed, 13 Nov 2024 19:51:42 -0600 Subject: [PATCH] vkd3d-shader: Silence a spurious -Wmaybe-uninitialized in vsir_program_insert_alpha_test(). --- libs/vkd3d-shader/ir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/vkd3d-shader/ir.c b/libs/vkd3d-shader/ir.c index 31cdb0ee..951b868a 100644 --- a/libs/vkd3d-shader/ir.c +++ b/libs/vkd3d-shader/ir.c @@ -5985,9 +5985,9 @@ static enum vkd3d_result vsir_program_insert_alpha_test(struct vsir_program *pro { struct vkd3d_shader_message_context *message_context = ctx->message_context; const struct vkd3d_shader_parameter1 *func = NULL, *ref = NULL; + uint32_t colour_signature_idx, colour_temp = ~0u; static const struct vkd3d_shader_location no_loc; enum vkd3d_shader_comparison_func compare_func; - uint32_t colour_signature_idx, colour_temp; struct vkd3d_shader_instruction *ins; size_t new_pos; int ret;