From 35729b76043884b669d9c1918f7d4494bf80c806 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 23 Jun 2020 14:28:07 +0200 Subject: Remove unnecessary initialization in phpdbg webhelper This whole code is very dubious and should possibly be dropped. For now just fix the build warning. --- sapi/phpdbg/phpdbg_webdata_transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sapi/phpdbg/phpdbg_webdata_transfer.c') 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); -- cgit v1.2.1