cvs: php-src /ext/soap soap.c
| From: | Antony Dovgal | Date: | Mon, 06 Feb 2006 11:00:51 +0000 |
| Subject: | cvs: php-src /ext/soap soap.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-36788@lists.php.net to get a copy of this message | ||
tony2001 Mon Feb 6 11:00:51 2006 UTC
Modified files:
/php-src/ext/soap soap.c
Log:
initialize variable and make gcc happy
http://cvs.php.net/viewcvs.cgi/php-src/ext/soap/soap.c?r1=1.170&r2=1.171&diff_format=u
Index: php-src/ext/soap/soap.c
diff -u php-src/ext/soap/soap.c:1.170 php-src/ext/soap/soap.c:1.171
--- php-src/ext/soap/soap.c:1.170 Thu Feb 2 11:42:12 2006
+++ php-src/ext/soap/soap.c Mon Feb 6 11:00:51 2006
@@ -17,7 +17,7 @@
| Dmitry Stogov <dmitry@zend.com> |
+----------------------------------------------------------------------+
*/
-/* $Id: soap.c,v 1.170 2006/02/02 11:42:12 dmitry Exp $ */
+/* $Id: soap.c,v 1.171 2006/02/06 11:00:51 tony2001 Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -758,7 +758,7 @@
PHP_METHOD(SoapFault, SoapFault)
{
char *fault_string = NULL, *fault_code = NULL, *fault_actor = NULL, *name = NULL, *fault_code_ns =
NULL;
- int fault_string_len, fault_code_len, fault_actor_len, name_len;
+ int fault_string_len, fault_actor_len, name_len, fault_code_len = 0;
zval *code = NULL, *details = NULL, *headerfault = NULL;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zs|s!z!s!z",