]> granicus.if.org Git - php/commitdiff
Nuke unused variable warning (end_arr).
authorJon Parise <jon@php.net>
Fri, 4 Jan 2002 22:57:36 +0000 (22:57 +0000)
committerJon Parise <jon@php.net>
Fri, 4 Jan 2002 22:57:36 +0000 (22:57 +0000)
main/rfc1867.c

index e86ccb416a86528cbbdaf01d73804e6e5e064d31..10dc4e8f840c6c44698d6b6f3b8d84bc2c848391 100644 (file)
@@ -582,7 +582,7 @@ static char *multipart_buffer_read_body(multipart_buffer *self TSRMLS_DC)
 
 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 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler)
                        /* 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] == ']');