mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
gallium: fix uninitialized variable warning
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
(cherry picked from commit 54deb1010f)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10379>
This commit is contained in:
parent
19ed21fba9
commit
0fff844cf9
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue