com php-src: Fixed uninitialized used: main/streams/transports.c

From: Date: Sun, 18 May 2014 13:04:43 +0000
Subject: com php-src: Fixed uninitialized used: main/streams/transports.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-78439@lists.php.net to get a copy of this message
Commit: d86fa38cc5e5f84975d7c6007a3c6d53b1dcb61f Author: Xinchen Hui <laruence@gmail.com> Sun, 18 May 2014 21:04:43 +0800 Parents: b0ecac6ba8e475f9c42eee106ebc397f86c6ef64 Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d86fa38cc5e5f84975d7c6007a3c6d53b1dcb61f Log: Fixed uninitialized used Changed paths: M main/streams/transports.c Diff: diff --git a/main/streams/transports.c b/main/streams/transports.c index 7ede940..4f4832d 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;

« previous php.cvs (#78439) next »