From: fennecdjay Date: Thu, 10 Oct 2019 14:02:28 +0000 (+0200) Subject: :art: Remove useless check X-Git-Tag: nightly~2198^2~19 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=63cc8ff4d65d5703dbf378446313aeba6386a230;p=gwion.git :art: Remove useless check --- diff --git a/src/lib/func.c b/src/lib/func.c index 0a284176..430defb8 100644 --- a/src/lib/func.c +++ b/src/lib/func.c @@ -262,8 +262,6 @@ ANN Type check_exp_unary_spork(const Env env, const Stmt code); static OP_CHECK(opck_spork) { const Exp_Unary* unary = (Exp_Unary*)data; - if(exp_self(unary)->next) - ERR_O(exp_self(unary)->pos, _("spork/fork must not have next expression")) if(unary->exp && unary->exp->exp_type == ae_exp_call) return env->gwion->type[unary->op == insert_symbol("spork") ? et_shred : et_fork]; if(unary->code) {