From a96aa89ae3a48dfe7ce33e9ba518e3da3e32989a Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Thu, 3 Jul 2003 00:55:20 +0000 Subject: [PATCH] Compiler warning fix. --- main/rfc1867.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main/rfc1867.c b/main/rfc1867.c index b8b4f533aca..24e1ddde188 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -696,8 +696,10 @@ 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, anonindex=0, is_anonymous; - zval *http_post_files=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, anonindex=0, is_anonymous; zval *http_post_files=NULL; +#if HAVE_MBSTRING && !defined(COMPILE_DL_MBSTRING) + int str_len=0 +#endif zend_bool magic_quotes_gpc; multipart_buffer *mbuff; zval *array_ptr = (zval *) arg;