helly Sat Mar 24 16:28:53 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/spl spl_array.c
Log:
- MFH Drop double variable declaration
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_array.c?r1=1.71.2.17.2.9&r2=1.71.2.17.2.10&diff_format=u
Index: php-src/ext/spl/spl_array.c
diff -u php-src/ext/spl/spl_array.c:1.71.2.17.2.9
php-src/ext/spl/spl_array.c:1.71.2.17.2.10
--- php-src/ext/spl/spl_array.c:1.71.2.17.2.9 Tue Mar 20 20:28:08 2007
+++ php-src/ext/spl/spl_array.c Sat Mar 24 16:28:53 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_array.c,v 1.71.2.17.2.9 2007/03/20 20:28:08 helly Exp $ */
+/* $Id: spl_array.c,v 1.71.2.17.2.10 2007/03/24 16:28:53 helly Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -492,7 +492,6 @@
index = Z_LVAL_P(offset);
}
if (check_empty) {
- zval **tmp;
HashTable *ht = spl_array_get_hash_table(intern, 0
TSRMLS_CC);
if (zend_hash_index_find(ht, index, (void **)&tmp) !=
FAILURE && zend_is_true(*tmp)) {
return 1;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php