summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2019-10-09 17:58:35 +0300
committerDmitry Stogov <dmitry@zend.com>2019-10-09 17:58:35 +0300
commitd37f5da75e0789eeb3bddfd5bd569214bd11dc44 (patch)
tree42c6ef018519162fb84ccccac80ab30c0066a6c7 /Zend/zend_compile.c
parentcb657440b4ca81a79deaf74d694d0230db397966 (diff)
downloadphp-git-d37f5da75e0789eeb3bddfd5bd569214bd11dc44.tar.gz
typo and cleanup
Diffstat (limited to 'Zend/zend_compile.c')
-rw-r--r--Zend/zend_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index edc0888c2d..64b9bc7032 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -2000,7 +2000,7 @@ ZEND_API int zend_is_smart_branch(const zend_op *opline) /* {{{ */
static inline uint32_t zend_emit_cond_jump(zend_uchar opcode, znode *cond, uint32_t opnum_target) /* {{{ */
{
uint32_t opnum = get_next_op_number();
- zend_op *opline = CG(active_op_array)->opcodes + opnum - 1;
+ zend_op *opline;
if (cond->op_type == IS_TMP_VAR && opnum > 0) {
opline = CG(active_op_array)->opcodes + opnum - 1;