svn: /php/php-src/ branches/PHP_5_4/ext/spl/spl_fixedarray.c trunk/ext/spl/spl_fixedarray.c

From: Date: Fri, 12 Aug 2011 21:46:40 +0000
Subject: svn: /php/php-src/ branches/PHP_5_4/ext/spl/spl_fixedarray.c trunk/ext/spl/spl_fixedarray.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-65838@lists.php.net to get a copy of this message
colder Fri, 12 Aug 2011 21:46:40 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=314852 Log: Fix CID 1211, unused intern variable Changed paths: U php/php-src/branches/PHP_5_4/ext/spl/spl_fixedarray.c U php/php-src/trunk/ext/spl/spl_fixedarray.c Modified: php/php-src/branches/PHP_5_4/ext/spl/spl_fixedarray.c =================================================================== --- php/php-src/branches/PHP_5_4/ext/spl/spl_fixedarray.c 2011-08-12 21:29:41 UTC (rev 314851) +++ php/php-src/branches/PHP_5_4/ext/spl/spl_fixedarray.c 2011-08-12 21:46:40 UTC (rev 314852) @@ -602,7 +602,6 @@ */ SPL_METHOD(SplFixedArray, toArray) { - spl_fixedarray_object *intern; zval *ret, *tmp; HashTable *ret_ht, *obj_ht; @@ -610,8 +609,6 @@ 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); Modified: php/php-src/trunk/ext/spl/spl_fixedarray.c =================================================================== --- php/php-src/trunk/ext/spl/spl_fixedarray.c 2011-08-12 21:29:41 UTC (rev 314851) +++ php/php-src/trunk/ext/spl/spl_fixedarray.c 2011-08-12 21:46:40 UTC (rev 314852) @@ -602,7 +602,6 @@ */ SPL_METHOD(SplFixedArray, toArray) { - spl_fixedarray_object *intern; zval *ret, *tmp; HashTable *ret_ht, *obj_ht; @@ -610,8 +609,6 @@ 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);

« previous php.cvs (#65838) next »