From a729354006b01779be6c292e29808dcbdfda0e2d Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 12 Nov 2020 13:10:23 +0100 Subject: [PATCH] :art: Remove useless cast->func --- ast | 2 +- src/lib/lib_func.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ast b/ast index 058ef7b4..4c003b15 160000 --- a/ast +++ b/ast @@ -1 +1 @@ -Subproject commit 058ef7b425c5122290f3b5d49939f5ba1f40dd21 +Subproject commit 4c003b1508785729e8150c0a9631a674370c6233 diff --git a/src/lib/lib_func.c b/src/lib/lib_func.c index 40e06057..3528e854 100644 --- a/src/lib/lib_func.c +++ b/src/lib/lib_func.c @@ -238,7 +238,6 @@ static OP_CHECK(opck_fptr_cast) { struct FptrInfo info = { cast->exp->info->type->info->func, t->info->func, cast->exp, exp_self(cast)->pos }; CHECK_BO(fptr_do(env, &info)) - cast->func = cast->exp->info->type->info->func; return t; } -- 2.43.0