cvs: php4 /main rfc1867.c
| From: | Jon Parise | Date: | Fri, 04 Jan 2002 22:57:36 +0000 |
| Subject: | cvs: php4 /main rfc1867.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8946@lists.php.net to get a copy of this message | ||
jon Fri Jan 4 17:57:36 2002 EDT
Modified files:
/php4/main rfc1867.c
Log:
Nuke unused variable warning (end_arr).
Index: php4/main/rfc1867.c
diff -u php4/main/rfc1867.c:1.92 php4/main/rfc1867.c:1.93
--- php4/main/rfc1867.c:1.92 Sun Dec 16 16:59:13 2001
+++ php4/main/rfc1867.c Fri Jan 4 17:57:36 2002
@@ -16,7 +16,7 @@
| Jani Taskinen <sniper@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: rfc1867.c,v 1.92 2001/12/16 21:59:13 sesser Exp $ */
+/* $Id: rfc1867.c,v 1.93 2002/01/04 22:57:36 jon Exp $ */
/*
* This product includes software developed by the Apache Group
@@ -582,7 +582,7 @@
SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler)
{
- char *boundary, *s=NULL, *start_arr=NULL, *end_arr=NULL, *array_index=NULL;
+ char *boundary, *s=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;
zval *http_post_files=NULL;
@@ -764,7 +764,6 @@
/* is_arr_upload is true when name of file upload field
* ends in [.*]
* start_arr is set to point to 1st [
- * end_arr points to last ]
*/
is_arr_upload = (start_arr = strchr(param,'[')) &&
(param[strlen(param)-1] == ']');