From b52fc671f4d70418dcfe7e524a50e9ac9cceb3f6 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 13 Oct 2021 18:12:46 -0500 Subject: [PATCH] core/exec.c: Fix shadowing of previous local --- core/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/exec.c b/core/exec.c index ef2c525..e5cd8eb 100644 --- a/core/exec.c +++ b/core/exec.c @@ -1606,7 +1606,7 @@ static lai_api_error_t lai_exec_process(lai_state_t *state) { blkitem->limit = handle->size; // Note: there is no need to reserve() as we pop a stackitem above. - lai_stackitem_t *item = lai_exec_push_stack(state); + item = lai_exec_push_stack(state); item->kind = LAI_METHOD_STACKITEM; item->mth_want_result = want_result; }