cvs: php-src(PHP_5_3) /ext/spl spl_array.c
| From: | Ilia Alshanetsky | Date: | Mon, 17 Dec 2007 19:00:08 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/spl spl_array.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-47541@lists.php.net to get a copy of this message | ||
iliaa Mon Dec 17 19:00:08 2007 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/spl spl_array.c
Log:
Kill unused vars
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/spl_array.c?r1=1.71.2.17.2.13.2.10&r2=1.71.2.17.2.13.2.11&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.13.2.10
php-src/ext/spl/spl_array.c:1.71.2.17.2.13.2.11
--- php-src/ext/spl/spl_array.c:1.71.2.17.2.13.2.10 Mon Dec 17 13:46:27 2007
+++ php-src/ext/spl/spl_array.c Mon Dec 17 19:00:07 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spl_array.c,v 1.71.2.17.2.13.2.10 2007/12/17 13:46:27 helly Exp $ */
+/* $Id: spl_array.c,v 1.71.2.17.2.13.2.11 2007/12/17 19:00:07 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
# include "config.h"
@@ -1446,8 +1446,7 @@
zval *object = getThis();
spl_array_object *intern = (spl_array_object*)zend_object_store_get_object(object TSRMLS_CC);
HashTable *aht = spl_array_get_hash_table(intern, 0 TSRMLS_CC);
- zval **entry, members, *pmembers;
- HashPosition pos;
+ zval members, *pmembers;
php_serialize_data_t var_hash;
smart_str buf = {0};
@@ -1498,7 +1497,7 @@
int buf_len;
const unsigned char *p, *s;
php_unserialize_data_t var_hash;
- zval *pentry, *pmembers, *pflags = NULL;
+ zval *pmembers, *pflags = NULL;
long flags;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &buf, &buf_len) ==
FAILURE) {