From f3618527a6c50ab6617f6ec801416e4de7df07ce Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 5 Aug 2003 01:01:40 +0000 Subject: [PATCH] MFH: remove useless variable when mbstring is not used. --- main/rfc1867.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main/rfc1867.c b/main/rfc1867.c index 7d88ea4a45..0603638353 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -692,13 +692,16 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) { char *boundary, *s=NULL, *boundary_end = NULL, *start_arr=NULL, *array_index=NULL; char *temp_filename=NULL, *lbuf=NULL, *abuf=NULL; - int boundary_len=0, total_bytes=0, cancel_upload=0, is_arr_upload=0, array_len=0, max_file_size=0, skip_upload=0, str_len=0; + int boundary_len=0, total_bytes=0, cancel_upload=0, is_arr_upload=0, array_len=0, max_file_size=0, skip_upload=0; zval *http_post_files=NULL; zend_bool magic_quotes_gpc; multipart_buffer *mbuff; zval *array_ptr = (zval *) arg; FILE *fp; zend_llist header; +#if HAVE_MBSTRING && !defined(COMPILE_DL_MBSTRING) + int str_len=0; +#endif if (SG(request_info).content_length > SG(post_max_size)) { sapi_module.sapi_error(E_WARNING, "POST Content-Length of %d bytes exceeds the limit of %d bytes", SG(request_info).content_length, SG(post_max_size)); -- 2.50.1