mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Avoid possible uninitialized value assignment
This commit is contained in:
@@ -2157,7 +2157,7 @@ ZEND_METHOD(reflection_generator, getTrace)
|
||||
zend_generator *root_generator;
|
||||
zend_execute_data *ex_backup = EG(current_execute_data);
|
||||
zend_execute_data *ex = generator->execute_data;
|
||||
zend_execute_data *root_prev, *cur_prev;
|
||||
zend_execute_data *root_prev = NULL, *cur_prev;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS(), "|l", &options) == FAILURE) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user