summaryrefslogtreecommitdiff
path: root/ext/soap/php_sdl.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-02-06 11:28:41 +0000
committerAntony Dovgal <tony2001@php.net>2006-02-06 11:28:41 +0000
commitbccf4bd9e76bb6009fea6b20a4d15c4eafc24747 (patch)
treebc7123c7bfbe25b8f12bd1c580b3ce840cfb7f02 /ext/soap/php_sdl.c
parent8911fac6534bc676022e178dfe4d71a29ba5ed2f (diff)
downloadphp-git-bccf4bd9e76bb6009fea6b20a4d15c4eafc24747.tar.gz
MFH: initialize variables and reduce the number of warnings
Diffstat (limited to 'ext/soap/php_sdl.c')
-rw-r--r--ext/soap/php_sdl.c2
1 files changed, 1 insertions, 1 deletions
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),