summaryrefslogtreecommitdiff
path: root/ext/pcntl
diff options
context:
space:
mode:
authorArnaud Le Blanc <lbarnaud@php.net>2008-09-12 19:49:18 +0000
committerArnaud Le Blanc <lbarnaud@php.net>2008-09-12 19:49:18 +0000
commit52f5ee8805207a925b5f6467c17117e327e47607 (patch)
tree1f7439f575a4d7da40cd75df21e812278dd92802 /ext/pcntl
parent28c49938d37a0e4d02e8eda43318e9d7eb6f20a5 (diff)
downloadphp-git-52f5ee8805207a925b5f6467c17117e327e47607.tar.gz
MFH: initialize optional args
Diffstat (limited to 'ext/pcntl')
-rwxr-xr-xext/pcntl/pcntl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c
index fbe79baf00..6b66780fa9 100755
--- a/ext/pcntl/pcntl.c
+++ b/ext/pcntl/pcntl.c
@@ -602,7 +602,7 @@ PHP_FUNCTION(pcntl_wstopsig)
Executes specified program in current process space as defined by exec(2) */
PHP_FUNCTION(pcntl_exec)
{
- zval *args, *envs;
+ zval *args = NULL, *envs = NULL;
zval **element;
HashTable *args_hash, *envs_hash;
int argc = 0, argi = 0;