From: Nikita Popov Date: Tue, 23 Jun 2020 12:28:07 +0000 (+0200) Subject: Remove unnecessary initialization in phpdbg webhelper X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35729b76043884b669d9c1918f7d4494bf80c806;p=php Remove unnecessary initialization in phpdbg webhelper This whole code is very dubious and should possibly be dropped. For now just fix the build warning. --- 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);