]> granicus.if.org Git - php/commitdiff
initialize variable and make gcc happy
authorAntony Dovgal <tony2001@php.net>
Mon, 6 Feb 2006 11:00:51 +0000 (11:00 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 6 Feb 2006 11:00:51 +0000 (11:00 +0000)
ext/soap/soap.c

index 97d9fbf2bda736bdf08dc7a5864948237771d79f..f96f5c5806facdeca5bdffc102aed3d862ee77c7 100644 (file)
@@ -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",