From 4a254a0a5e96897a8e7c9a9e37377dc753486147 Mon Sep 17 00:00:00 2001 From: Arnaud Le Blanc Date: Fri, 12 Sep 2008 19:49:04 +0000 Subject: [PATCH] initialize optional args --- ext/pcntl/pcntl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c index 92452437f0..6bc6241aa9 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; -- 2.50.1