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 /ext/standard/php_fopen_wrapper.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 'ext/standard/php_fopen_wrapper.c')
-rw-r--r-- | ext/standard/php_fopen_wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/php_fopen_wrapper.c b/ext/standard/php_fopen_wrapper.c index 36fe523d92..053f8417ec 100644 --- a/ext/standard/php_fopen_wrapper.c +++ b/ext/standard/php_fopen_wrapper.c @@ -181,7 +181,7 @@ php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, const char *pa int fd = -1; int mode_rw = 0; php_stream * stream = NULL; - char *p, *token, *pathdup; + char *p, *token = NULL, *pathdup; zend_long max_memory; FILE *file = NULL; #ifdef PHP_WIN32 |