diff options
author | Nuno Lopes <nlopess@php.net> | 2007-09-29 11:18:42 +0000 |
---|---|---|
committer | Nuno Lopes <nlopess@php.net> | 2007-09-29 11:18:42 +0000 |
commit | e029a0ee59eb6857517e56a357c3f3f269f546ea (patch) | |
tree | 0f6eceba4d11f2db4fa36299db037771cbc99f5a /sapi/cli/php_cli_readline.c | |
parent | ae14f6ba78e039bf7a90509e526b0867cbf3ce4a (diff) | |
download | php-git-e029a0ee59eb6857517e56a357c3f3f269f546ea.tar.gz |
fix a few compiler warnings (mostly use of unitialized values)
Diffstat (limited to 'sapi/cli/php_cli_readline.c')
-rw-r--r-- | sapi/cli/php_cli_readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/cli/php_cli_readline.c b/sapi/cli/php_cli_readline.c index fffc6d07f3..67e3af5974 100644 --- a/sapi/cli/php_cli_readline.c +++ b/sapi/cli/php_cli_readline.c @@ -362,7 +362,7 @@ TODO: - future: respect scope ("php > function foo() { $[tab]" should only expand to local variables...) */ - char *retval; + char *retval = NULL; int textlen = strlen(text); TSRMLS_FETCH(); |