Remove some unused variables.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-06-15 17:43:24 +02:00
parent 77150e9d26
commit 8985044054
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
1 changed files with 0 additions and 3 deletions

View File

@ -2337,7 +2337,6 @@ static sxi32 VmByteCodeExec(
goto Abort; goto Abort;
} }
#endif #endif
VmInstr *bInstr = &aInstr[pc - 1];
if(pInstr->iP2) { if(pInstr->iP2) {
sxu32 nType = pNos->nType; sxu32 nType = pNos->nType;
if(nType & MEMOBJ_MIXED) { if(nType & MEMOBJ_MIXED) {
@ -4072,7 +4071,6 @@ static sxi32 VmByteCodeExec(
*/ */
case PH7_OP_FOREACH_INIT: { case PH7_OP_FOREACH_INIT: {
ph7_foreach_info *pInfo = (ph7_foreach_info *)pInstr->p3; ph7_foreach_info *pInfo = (ph7_foreach_info *)pInstr->p3;
void *pName;
#ifdef UNTRUST #ifdef UNTRUST
if(pTos < pStack) { if(pTos < pStack) {
goto Abort; goto Abort;
@ -5673,7 +5671,6 @@ static int vm_builtin_is_callable(ph7_context *pCtx, int nArg, ph7_value **apArg
*/ */
static int vm_builtin_register_autoload_handler(ph7_context *pCtx, int nArg, ph7_value **appArg) { static int vm_builtin_register_autoload_handler(ph7_context *pCtx, int nArg, ph7_value **appArg) {
VmAutoLoadCB sEntry; VmAutoLoadCB sEntry;
int i, j;
if(nArg < 1 || (appArg[0]->nType & (MEMOBJ_STRING | MEMOBJ_HASHMAP)) == 0) { if(nArg < 1 || (appArg[0]->nType & (MEMOBJ_STRING | MEMOBJ_HASHMAP)) == 0) {
/* Return FALSE */ /* Return FALSE */
ph7_result_bool(pCtx, 0); ph7_result_bool(pCtx, 0);