From d86fa38cc5e5f84975d7c6007a3c6d53b1dcb61f Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Sun, 18 May 2014 21:04:43 +0800 Subject: Fixed uninitialized used --- main/streams/transports.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') 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; -- cgit v1.2.1