summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2002-11-04 17:38:30 +0000
committerIlia Alshanetsky <iliaa@php.net>2002-11-04 17:38:30 +0000
commita8d4bb9d287b58a67d2cb532a469ae40f1b07268 (patch)
tree9c7115f45b40931acc4359bb88b9557dc4f4ea3e
parente849aa9d9bb5c5d5c88f42fdde65b4f2fddd6c08 (diff)
downloadphp-git-a8d4bb9d287b58a67d2cb532a469ae40f1b07268.tar.gz
Silence compiler warning.
-rw-r--r--ext/standard/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index b962ea90c3..e9bcd86b9f 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -946,7 +946,7 @@ PHP_FUNCTION(proc_open)
* ends, where appropriate */
for (i = 0; i < ndesc; i++) {
FILE *fp;
- char *mode_string;
+ char *mode_string=NULL;
php_stream *stream;
close_descriptor(descriptors[i].childend);