Skip to content

Commit

Permalink
Add missed return replacing bail out
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Jun 29, 2016
1 parent 7d53864 commit e4b1bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/reflection/php_reflection.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e4b1bfc

Please sign in to comment.