]> granicus.if.org Git - php/commitdiff
Fix [-Wjump-misses-init] in generated zend_opcode.c
authorGeorge Peter Banyard <girgias@php.net>
Tue, 14 Apr 2020 21:39:23 +0000 (23:39 +0200)
committerGeorge Peter Banyard <girgias@php.net>
Sat, 18 Apr 2020 12:52:49 +0000 (14:52 +0200)
Zend/zend_opcode.c

index 49dedf5f963e4e7e4c229482287fc3619d432846..0dd42f8e6e1bae376ca608882c0dfd6a1df56af1 100644 (file)
@@ -682,7 +682,8 @@ static void emit_live_range(
                                /* Trivial live-range, no need to store it. */
                                return;
                        }
-                       /* break missing intentionally */
+               }
+               /* explicit fallthrough */
                default:
                        start++;
                        kind = ZEND_LIVE_TMPVAR;
@@ -693,7 +694,6 @@ static void emit_live_range(
                                return;
                        }
                        break;
-               }
                case ZEND_COPY_TMP:
                {
                        /* COPY_TMP has a split live-range: One from the definition until the use in