]> granicus.if.org Git - php/commitdiff
Silence compiler warning.
authorIlia Alshanetsky <iliaa@php.net>
Mon, 4 Nov 2002 17:38:30 +0000 (17:38 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 4 Nov 2002 17:38:30 +0000 (17:38 +0000)
ext/standard/exec.c

index b962ea90c3cd25defef67fb5c892ab0d6b719e56..e9bcd86b9f9f422626e7a897a0dac464707289b9 100644 (file)
@@ -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);