summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2014-05-18 21:04:43 +0800
committerXinchen Hui <laruence@gmail.com>2014-05-18 21:04:43 +0800
commitd86fa38cc5e5f84975d7c6007a3c6d53b1dcb61f (patch)
treea0820705ae57660436e72ed2179f7ac9e5dc0447 /main
parentb0ecac6ba8e475f9c42eee106ebc397f86c6ef64 (diff)
downloadphp-git-d86fa38cc5e5f84975d7c6007a3c6d53b1dcb61f.tar.gz
Fixed uninitialized used
Diffstat (limited to 'main')
-rw-r--r--main/streams/transports.c2
1 files changed, 1 insertions, 1 deletions
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;