1
0
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:
Reeze Xia
2015-05-18 12:49:42 +08:00
parent ab680e7f6e
commit 104f6c5ec6

View File

@@ -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;