diff options
author | Arnaud Le Blanc <lbarnaud@php.net> | 2008-10-21 22:08:38 +0000 |
---|---|---|
committer | Arnaud Le Blanc <lbarnaud@php.net> | 2008-10-21 22:08:38 +0000 |
commit | d69dfa4b9f58e2148f986e0ef5dba91f00c2f639 (patch) | |
tree | c86c9f2955005a0c78c9ea5f0e181a0ddf8980a6 /ext/standard/proc_open.c | |
parent | 261f0c32a59ba9ecc59f36536ea27bdfdead0939 (diff) | |
download | php-git-d69dfa4b9f58e2148f986e0ef5dba91f00c2f639.tar.gz |
MFH: initialize optional vars
Diffstat (limited to 'ext/standard/proc_open.c')
-rw-r--r-- | ext/standard/proc_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/proc_open.c b/ext/standard/proc_open.c index b8b2bb3bb3..230cca0f29 100644 --- a/ext/standard/proc_open.c +++ b/ext/standard/proc_open.c @@ -466,7 +466,7 @@ struct php_proc_open_descriptor_item { PHP_FUNCTION(proc_open) { char *command, *cwd=NULL; - int command_len, cwd_len; + int command_len, cwd_len = 0; zval *descriptorspec; zval *pipes; zval *environment = NULL; |