Skip to content

Commit e73046e

Browse files
committed
Fixed uninitialized value
1 parent f5e2e8e commit e73046e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/Optimizer/sccp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1213,7 +1213,7 @@ static int replace_constant_operands(sccp_ctx *ctx) {
12131213
zend_op_array *op_array = ctx->scdf.op_array;
12141214
int i;
12151215
zval tmp;
1216-
int removed_ops;
1216+
int removed_ops = 0;
12171217

12181218
/* We iterate the variables backwards, so we can eliminate sequences like INIT_ROPE
12191219
* and INIT_ARRAY. */

0 commit comments

Comments
 (0)