summaryrefslogtreecommitdiff
path: root/ext/spl/spl_fixedarray.c
diff options
context:
space:
mode:
authorEtienne Kneuss <colder@php.net>2011-08-12 21:46:40 (GMT)
committerEtienne Kneuss <colder@php.net>2011-08-12 21:46:40 (GMT)
commit81700b8b2ff48eec7488d066e2c55293f6b7901d (patch)
treeca21512795a8cf641bd175239068c103603fbf8b /ext/spl/spl_fixedarray.c
parent566a367ef6bfcb604620cdc5cc455af553cedccb (diff)
downloadphp-81700b8b2ff48eec7488d066e2c55293f6b7901d.tar.gz
Fix CID 1211, unused intern variable
Diffstat (limited to 'ext/spl/spl_fixedarray.c')
-rw-r--r--ext/spl/spl_fixedarray.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/spl/spl_fixedarray.c b/ext/spl/spl_fixedarray.c
index c49528e..dbcb2b2 100644
--- a/ext/spl/spl_fixedarray.c
+++ b/ext/spl/spl_fixedarray.c
@@ -602,7 +602,6 @@ SPL_METHOD(SplFixedArray, count)
*/
SPL_METHOD(SplFixedArray, toArray)
{
- spl_fixedarray_object *intern;
zval *ret, *tmp;
HashTable *ret_ht, *obj_ht;
@@ -610,8 +609,6 @@ SPL_METHOD(SplFixedArray, toArray)
return;
}
- intern = (spl_fixedarray_object *)zend_object_store_get_object(getThis() TSRMLS_CC);
-
ALLOC_HASHTABLE(ret_ht);
zend_hash_init(ret_ht, 0, NULL, ZVAL_PTR_DTOR, 0);
ALLOC_INIT_ZVAL(ret);