gallium: fix uninitialized variable warning

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10276>
This commit is contained in:
Michel Zou 2021-04-15 22:38:44 +02:00 committed by Marge Bot
parent dc036b1769
commit 54deb1010f
1 changed files with 1 additions and 1 deletions

View File

@ -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) {