From 8911fac6534bc676022e178dfe4d71a29ba5ed2f Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Mon, 6 Feb 2006 11:01:06 +0000 Subject: [PATCH] MFH: initialize variable and make gcc happy --- ext/soap/soap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/soap/soap.c b/ext/soap/soap.c index d539a51810..6ee6525b3b 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -758,7 +758,7 @@ PHP_METHOD(SoapHeader, SoapHeader) 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", -- 2.50.1