diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-12 11:20:29 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-12 11:46:03 +0200 |
commit | c09b63595ef7edcaae6638932dceae531c26c3cf (patch) | |
tree | de1ca460f46c47475a6a9989e0822f100f19e9f8 /sapi/phpdbg/phpdbg_utils.c | |
parent | 88bfd2ae98fb163f4b8789b0cb41f7c01eff7c3f (diff) | |
download | php-git-c09b63595ef7edcaae6638932dceae531c26c3cf.tar.gz |
Fix potentially uninitialized warnings in phpdbg
Diffstat (limited to 'sapi/phpdbg/phpdbg_utils.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_utils.c b/sapi/phpdbg/phpdbg_utils.c index c40349f2a0..38e3d38377 100644 --- a/sapi/phpdbg/phpdbg_utils.c +++ b/sapi/phpdbg/phpdbg_utils.c @@ -430,7 +430,7 @@ PHPDBG_API int phpdbg_parse_variable(char *input, size_t len, HashTable *parent, PHPDBG_API int phpdbg_parse_variable_with_arg(char *input, size_t len, HashTable *parent, size_t i, phpdbg_parse_var_with_arg_func callback, phpdbg_parse_var_with_arg_func step_cb, zend_bool silent, void *arg) { int ret = FAILURE; zend_bool new_index = 1; - char *last_index; + char *last_index = NULL; size_t index_len = 0; zval *zv; |