From: Xinchen Hui Date: Sun, 18 May 2014 13:04:43 +0000 (+0800) Subject: Fixed uninitialized used X-Git-Tag: POST_PHPNG_MERGE~328^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d86fa38cc5e5f84975d7c6007a3c6d53b1dcb61f;p=php Fixed uninitialized used --- diff --git a/main/streams/transports.c b/main/streams/transports.c index 7ede9407e6..4f4832df2d 100644 --- a/main/streams/transports.c +++ b/main/streams/transports.c @@ -58,7 +58,7 @@ PHPAPI php_stream *_php_stream_xport_create(const char *name, size_t namelen, in STREAMS_DC TSRMLS_DC) { php_stream *stream = NULL; - php_stream_transport_factory factory; + php_stream_transport_factory factory = NULL; const char *p, *protocol = NULL; int n = 0, failed = 0; char *error_text = NULL;