helly Sat Mar 24 16:28:45 2007 UTC
Modified files:
/php-src/ext/spl spl_array.c
Log:
- Drop double variable declaration
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_array.c?r1=1.122&r2=1.123&diff_format=u
Index: php-src/ext/spl/spl_array.c
diff -u php-src/ext/spl/spl_array.c:1.122 php-src/ext/spl/spl_array.c:1.123
--- php-src/ext/spl/spl_array.c:1.122 Tue Mar 20 20:21:39 2007
+++ php-src/ext/spl/spl_array.c Sat Mar 24 16:28:45 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_array.c,v 1.122 2007/03/20 20:21:39 helly Exp $ */
+/* $Id: spl_array.c,v 1.123 2007/03/24 16:28:45 helly Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -497,7 +497,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