From: Dmitry Stogov Date: Mon, 25 Sep 2006 08:19:06 +0000 (+0000) Subject: Removed warning about unreferenced local variable X-Git-Tag: RELEASE_1_0_0RC1~1553 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5b5342df4efac8ce51549fceaeabe9e8195eddf;p=php Removed warning about unreferenced local variable --- diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 06c22ea479..d8a274a2c9 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -2368,7 +2368,9 @@ static void soap_error_handler(int error_num, const char *error_filename, const char *buffer; int buffer_len; zval outbuf, outbuflen; +#ifdef va_copy va_list argcopy; +#endif int old = PG(display_errors); INIT_ZVAL(outbuf); @@ -2409,7 +2411,9 @@ static void soap_error_handler(int error_num, const char *error_filename, const int old = PG(display_errors); int fault = 0; zval fault_obj; +#ifdef va_copy va_list argcopy; +#endif if (error_num == E_USER_ERROR || error_num == E_COMPILE_ERROR ||