Skip to content

Commit 826a745

Browse files
committed
Fix [-Wjump-misses-init] in generated zend_opcode.c
1 parent 594287a commit 826a745

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/zend_opcode.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,8 @@ static void emit_live_range(
682682
/* Trivial live-range, no need to store it. */
683683
return;
684684
}
685-
/* break missing intentionally */
685+
}
686+
/* explicit fallthrough */
686687
default:
687688
start++;
688689
kind = ZEND_LIVE_TMPVAR;
@@ -693,7 +694,6 @@ static void emit_live_range(
693694
return;
694695
}
695696
break;
696-
}
697697
case ZEND_COPY_TMP:
698698
{
699699
/* COPY_TMP has a split live-range: One from the definition until the use in

0 commit comments

Comments
 (0)