cvs: ZendEngine2 / zend_compile.c

[email protected] ("Stanislav Malyshev")
Newsgroups php.zend-engine.cvs
Message-ID <cvsstas1229340717@cvsserver>
stas		Mon Dec 15 11:31:57 2008 UTC

  Modified files:              
    /ZendEngine2	zend_compile.c 
  Log:
  initialize op2
  
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_compile.c?r1=1.844&r2=1.845&diff_format=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.844 ZendEngine2/zend_compile.c:1.845
--- ZendEngine2/zend_compile.c:1.844	Thu Dec  4 20:12:29 2008
+++ ZendEngine2/zend_compile.c	Mon Dec 15 11:31:56 2008
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_compile.c,v 1.844 2008/12/04 20:12:29 stas Exp $ */
+/* $Id: zend_compile.c,v 1.845 2008/12/15 11:31:56 stas Exp $ */
 
 #include <zend_language_parser.h>
 #include "zend.h"
@@ -1794,6 +1794,7 @@
 		Z_LVAL(opline2->op1.u.constant) = prefix_len;
 		/* this is the hash of the non-prefixed part, lowercased */
 		opline2->extended_value = zend_u_hash_func(type, slash, name_len+1);
+		SET_UNUSED(opline2->op2);
 	} else {
 		opline->opcode = ZEND_INIT_FCALL_BY_NAME;
 		opline->op2 = *function_name;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.