From: Etienne Kneuss Date: Fri, 12 Aug 2011 21:46:40 +0000 (+0000) Subject: Fix CID 1211, unused intern variable X-Git-Tag: php-5.4.0beta1~434 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32e67db84cbf3858cafd63dee36d1b50aa8fb717;p=php Fix CID 1211, unused intern variable --- diff --git a/ext/spl/spl_fixedarray.c b/ext/spl/spl_fixedarray.c index c49528e89f..dbcb2b23a1 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);