cvs: ZendEngine2(PHP_5_3) / zend_closures.c

"Pierre-Alain Joye" <[email protected]>
Newsgroups gmane.comp.php.cvs.zend
Message-ID <cvspajoye1230861013@cvsserver>
pajoye		Fri Jan  2 01:50:14 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /ZendEngine2	zend_closures.c 
  Log:
  - fix build (declaration first please)
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_closures.c?r1=1.3.2.18&r2=1.3.2.19&diff_format=u
Index: ZendEngine2/zend_closures.c
diff -u ZendEngine2/zend_closures.c:1.3.2.18 ZendEngine2/zend_closures.c:1.3.2.19
--- ZendEngine2/zend_closures.c:1.3.2.18	Thu Jan  1 16:22:44 2009
+++ ZendEngine2/zend_closures.c	Fri Jan  2 01:50:13 2009
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_closures.c,v 1.3.2.18 2009/01/01 16:22:44 helly Exp $ */
+/* $Id: zend_closures.c,v 1.3.2.19 2009/01/02 01:50:13 pajoye Exp $ */
 
 #include "zend.h"
 #include "zend_API.h"
@@ -250,9 +250,11 @@
 	}
 
 	if (arg_info) {
+		zend_uint i, required = closure->func.common.required_num_args;
+
 		MAKE_STD_ZVAL(val);
 		array_init(val);
-		zend_uint i, required = closure->func.common.required_num_args;
+
 		for (i = 0; i < closure->func.common.num_args; i++) {
 			char *name, *info;
 			int name_len, info_len;



-- 
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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.