Skip to content

Commit 49ce7c0

Browse files
committed
Remove odd variable assignment in escape_analysis
As we are breaking out of the for loop setting i = ssa_vars_count doesn't do anything, but it confuses GCC into throwing a no-overflow assumption warning.
1 parent c09b635 commit 49ce7c0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/opcache/Optimizer/escape_analysis.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,6 @@ int zend_ssa_escape_analysis(const zend_script *script, zend_op_array *op_array,
535535
if (ssa_vars[root].escape_state == ESCAPE_STATE_GLOBAL_ESCAPE) {
536536
num_non_escaped--;
537537
if (num_non_escaped == 0) {
538-
i = ssa_vars_count;
539538
changed = 0;
540539
} else {
541540
changed = 1;

0 commit comments

Comments
 (0)