diff --git a/engine/vm.c b/engine/vm.c index 4997622..b3d6f15 100644 --- a/engine/vm.c +++ b/engine/vm.c @@ -5724,13 +5724,6 @@ Resume: n = 0; while(pArg < pTos) { if(n < SySetUsed(&pVmFunc->aArgs)) { - if((pArg->nType & MEMOBJ_NULL) && SySetUsed(&aFormalArg[n].aByteCode) > 0) { - /* NULL values are redirected to default arguments */ - rc = VmLocalExec(&(*pVm), &aFormalArg[n].aByteCode, pArg); - if(rc == PH7_ABORT) { - goto Abort; - } - } /* Make sure the given arguments are of the correct type */ if(aFormalArg[n].nType > 0) { if(aFormalArg[n].nType == SXU32_HIGH) {