Browse Source

Do not use a pointer for temporary value.

release/v0.1
Rafal Kupiec 1 year ago
parent
commit
690213e0c7
Signed by: belliash GPG Key ID: 4E829243E0CFE6B4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      engine/vm.c

+ 1
- 1
engine/vm.c View File

@ -4103,7 +4103,7 @@ static sxi32 VmByteCodeExec(
*/
case PH7_OP_FOREACH_STEP: {
ph7_foreach_info *pInfo = (ph7_foreach_info *)pInstr->p3;
ph7_value *pTmp, *pValue;
ph7_value pTmp, *pValue;
VmFrame *pFrame;
pFrame = pVm->pFrame;
while(pFrame->pParent && (pFrame->iFlags & VM_FRAME_EXCEPTION)) {

Loading…
Cancel
Save