]> Nishi Git Mirror - gwion.git/commitdiff
:art: Remove useless cast->func
authorfennecdjay <fennecdjay@gwion.tk>
Thu, 12 Nov 2020 12:10:23 +0000 (13:10 +0100)
committerfennecdjay <fennecdjay@gwion.tk>
Thu, 12 Nov 2020 12:10:23 +0000 (13:10 +0100)
ast
src/lib/lib_func.c

diff --git a/ast b/ast
index 058ef7b425c5122290f3b5d49939f5ba1f40dd21..4c003b1508785729e8150c0a9631a674370c6233 160000 (submodule)
--- a/ast
+++ b/ast
@@ -1 +1 @@
-Subproject commit 058ef7b425c5122290f3b5d49939f5ba1f40dd21
+Subproject commit 4c003b1508785729e8150c0a9631a674370c6233
index 40e060577f20aa39d577a9de0d5e9143e8805b82..3528e8547947c5ddf94a9db4d12b06d96f94e4b6 100644 (file)
@@ -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;
 }