From 96543b01ad06ed275eb2f53132b1e47505aa8e6a Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Mon, 6 Feb 2006 11:28:20 +0000 Subject: initialize variables and reduce the number of warnings --- ext/soap/php_sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/soap/php_sdl.c') diff --git a/ext/soap/php_sdl.c b/ext/soap/php_sdl.c index 75f8e661d2..e2698ebcab 100644 --- a/ext/soap/php_sdl.c +++ b/ext/soap/php_sdl.c @@ -2264,7 +2264,7 @@ sdlPtr get_sdl(zval *this_ptr, char *uri TSRMLS_DC) char* old_error_code = SOAP_GLOBAL(error_code); int uri_len; php_stream_context *context=NULL; - zval **tmp, **proxy_host, **proxy_port, *orig_context, *new_context; + zval **tmp, **proxy_host, **proxy_port, *orig_context = NULL, *new_context = NULL; smart_str headers = {0}; if (SUCCESS == zend_hash_find(Z_OBJPROP_P(this_ptr), -- cgit v1.2.1