diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-15 11:35:13 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-15 11:35:13 +0200 |
commit | 7f6c22cb3d207db0937a8f67e51bee031ba47314 (patch) | |
tree | 1433e583f322bc6ab0d67f6cf4809afd74928b73 /sapi/cli/php_cli_server.c | |
parent | 908660c1d778186f661d97c7051c8f2891e2e602 (diff) | |
download | php-git-7f6c22cb3d207db0937a8f67e51bee031ba47314.tar.gz |
Fix last maybe uninit warnings on 7.4
Most of these only occur under GCC 5. Not fond of all the workarounds
(especially the PDO one), but it gets us a clean build...
Diffstat (limited to 'sapi/cli/php_cli_server.c')
-rw-r--r-- | sapi/cli/php_cli_server.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c index 46ba86e9c2..6889278bca 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -1448,6 +1448,7 @@ static void normalize_vpath(char **retval, size_t *retval_len, const char *vpath char *p; *retval = NULL; + *retval_len = 0; decoded_vpath = pestrndup(vpath, vpath_len, persistent); if (!decoded_vpath) { |