summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_webdata_transfer.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-06-23 14:28:07 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-06-23 14:29:24 +0200
commit35729b76043884b669d9c1918f7d4494bf80c806 (patch)
tree94fae6391fe5ef66362dc5669959bcee7b93da60 /sapi/phpdbg/phpdbg_webdata_transfer.c
parent361aa1ea48a01c432c2f323aa75e0e9d5599f70a (diff)
downloadphp-git-35729b76043884b669d9c1918f7d4494bf80c806.tar.gz
Remove unnecessary initialization in phpdbg webhelper
This whole code is very dubious and should possibly be dropped. For now just fix the build warning.
Diffstat (limited to 'sapi/phpdbg/phpdbg_webdata_transfer.c')
-rw-r--r--sapi/phpdbg/phpdbg_webdata_transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/phpdbg/phpdbg_webdata_transfer.c b/sapi/phpdbg/phpdbg_webdata_transfer.c
index 85e4c25a61..81f747d69f 100644
--- a/sapi/phpdbg/phpdbg_webdata_transfer.c
+++ b/sapi/phpdbg/phpdbg_webdata_transfer.c
@@ -28,7 +28,7 @@ static int phpdbg_is_auto_global(char *name, int len) {
PHPDBG_API void phpdbg_webdata_compress(char **msg, size_t *len) {
zval array;
HashTable *ht;
- zval zv[9] = {{{0}}};
+ zval zv[9];
array_init(&array);
ht = Z_ARRVAL(array);