From: fennecdjay Date: Thu, 12 Nov 2020 12:10:23 +0000 (+0100) Subject: :art: Remove useless cast->func X-Git-Tag: nightly~1161 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=a729354006b01779be6c292e29808dcbdfda0e2d;p=gwion.git :art: Remove useless cast->func --- 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; }