com php-src: Unecessary assignment: Zend/zend_opcode.c
| From: | Xinchen Hui | Date: | Tue, 02 Dec 2014 13:23:39 +0000 |
| Subject: | com php-src: Unecessary assignment: Zend/zend_opcode.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83480@lists.php.net to get a copy of this message | ||
Commit: b19333663a872a8b0b8c799781236b5cd5bfa47a
Author: Xinchen Hui <laruence@php.net> Tue, 2 Dec 2014 21:23:39 +0800
Parents: 8199278ffb2a2a16bcec191455f38d37fa3a292d
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b19333663a872a8b0b8c799781236b5cd5bfa47a
Log:
Unecessary assignment
Changed paths:
M Zend/zend_opcode.c
Diff:
diff --git a/Zend/zend_opcode.c b/Zend/zend_opcode.c
index 59e6214..c15f6e1 100644
--- a/Zend/zend_opcode.c
+++ b/Zend/zend_opcode.c
@@ -55,7 +55,6 @@ void init_op_array(zend_op_array *op_array, zend_uchar type, int initial_ops_siz
op_array->refcount = (uint32_t *) emalloc(sizeof(uint32_t));
*op_array->refcount = 1;
op_array->last = 0;
- op_array->opcodes = NULL;
op_array_alloc_ops(op_array, initial_ops_size);
op_array->last_var = 0;