kalle Mon, 03 May 2010 09:21:21 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=298895
Log: Fix build, declarings first Changed paths: U php/php-src/trunk/ext/spl/spl_observer.c Modified: php/php-src/trunk/ext/spl/spl_observer.c =================================================================== --- php/php-src/trunk/ext/spl/spl_observer.c 2010-05-03 09:05:54 UTC (rev 298894) +++ php/php-src/trunk/ext/spl/spl_observer.c 2010-05-03 09:21:21 UTC (rev 298895) @@ -384,12 +384,13 @@ int spl_object_storage_contains(spl_SplObjectStorage *intern, zval *this, zval *obj TSRMLS_DC) /* {{{ */ { - int hash_len; + int hash_len, found; char *hash = spl_object_storage_get_hash(intern, this, obj, &hash_len TSRMLS_CC); if (!hash) { return 0; } - int found = zend_hash_exists(&intern->storage, hash, hash_len); + + found = zend_hash_exists(&intern->storage, hash, hash_len); spl_object_storage_free_hash(intern, hash); return found; } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php