summaryrefslogtreecommitdiff
path: root/ext/readline
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2015-07-17 20:18:25 +0200
committerNikita Popov <nikic@php.net>2015-07-17 20:18:25 +0200
commit5c95226d50e565b43d9e7f2d4ff4deeaf7ec8942 (patch)
tree309a2e9430f04fda13e808e1ea00b8b27f388116 /ext/readline
parent90d9adccec42559d08487ae144e947df30ab820e (diff)
downloadphp-git-5c95226d50e565b43d9e7f2d4ff4deeaf7ec8942.tar.gz
Various warning fixes
Diffstat (limited to 'ext/readline')
-rw-r--r--ext/readline/readline_cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/readline/readline_cli.c b/ext/readline/readline_cli.c
index 125b09e920..eaec591d9a 100644
--- a/ext/readline/readline_cli.c
+++ b/ext/readline/readline_cli.c
@@ -587,7 +587,7 @@ static int readline_shell_run(void) /* {{{ */
if (PG(auto_prepend_file) && PG(auto_prepend_file)[0]) {
zend_file_handle *prepend_file_p;
- zend_file_handle prepend_file = {0};
+ zend_file_handle prepend_file = {{0}};
prepend_file.filename = PG(auto_prepend_file);
prepend_file.opened_path = NULL;