Module: Mesa Branch: staging/21.1 Commit: 0fff844cf9de27fbee548f16e67a78180a9b9412 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0fff844cf9de27fbee548f16e67a78180a9b9412
Author: Michel Zou <xantare...@hotmail.com> Date: Thu Apr 15 22:38:44 2021 +0200 gallium: fix uninitialized variable warning Reviewed-by: Jason Ekstrand <ja...@jlekstrand.net> (cherry picked from commit 54deb1010f7db2a1d73557194557ab0ac851b30f) Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10379> --- .pick_status.json | 2 +- src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 18edd05a0fe..0fa8e854b4e 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -6709,7 +6709,7 @@ "description": "gallium: fix uninitialized variable warning", "nominated": false, "nomination_type": null, - "resolution": 4, + "resolution": 1, "master_sha": null, "because_sha": null }, diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c index a9c04970cad..31aacef74d6 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c @@ -305,7 +305,7 @@ static void lp_exec_default(struct lp_exec_mask *mask, LLVMBuilderRef builder = mask->bld->gallivm->builder; struct function_ctx *ctx = func_ctx(mask); - int default_exec_pc; + int default_exec_pc = 0; boolean default_is_last; if (ctx->switch_stack_size > LP_MAX_TGSI_NESTING) { _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit