com php-src: Add missed return replacing bail out: ext/reflecti on/php_reflection.c

From: Date: Wed, 29 Jun 2016 14:56:25 +0000
Subject: com php-src: Add missed return replacing bail out: ext/reflecti on/php_reflection.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-92774@lists.php.net to get a copy of this message
Commit: e4b1bfc0757447b1b53adfb61d15e367e96f6a4d Author: Aaron Piotrowski <aaron@trowski.com> Wed, 29 Jun 2016 09:56:25 -0500 Parents: 7d53864574e22a3f72fcee7eb902248fb25f85df Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e4b1bfc0757447b1b53adfb61d15e367e96f6a4d Log: Add missed return replacing bail out Changed paths: M ext/reflection/php_reflection.c Diff: diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index f1c58e2..635643e 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -5636,7 +5636,7 @@ ZEND_METHOD(reflection_property, getValue) } if (Z_TYPE(CE_STATIC_MEMBERS(intern->ce)[ref->prop.offset]) == IS_UNDEF) { zend_throw_error(NULL, "Internal error: Could not find the property %s::%s", ZSTR_VAL(intern->ce->name), ZSTR_VAL(ref->prop.name)); - /* Bails out */ + return; } member_p = &CE_STATIC_MEMBERS(intern->ce)[ref->prop.offset]; ZVAL_DEREF(member_p);

« previous php.cvs (#92774) next »