From: Dmitry Stogov Date: Mon, 25 Sep 2006 08:15:03 +0000 (+0000) Subject: Removed warning about unreferenced local variable X-Git-Tag: php-5.2.0RC5~109 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fa6c04c74690f1620dcb0a0d34c0321179ef0bad;p=php Removed warning about unreferenced local variable --- diff --git a/ext/soap/soap.c b/ext/soap/soap.c index 25f8ecfef5..87b1e640c9 100644 --- a/ext/soap/soap.c +++ b/ext/soap/soap.c @@ -2041,7 +2041,9 @@ static void soap_error_handler(int error_num, const char *error_filename, const char buffer[1024]; int buffer_len; zval outbuf, outbuflen; +#ifdef va_copy va_list argcopy; +#endif int old = PG(display_errors); INIT_ZVAL(outbuf); @@ -2088,7 +2090,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 ||