mirror of
https://github.com/apache/httpd.git
synced 2025-11-05 05:30:39 +03:00
- Remove a load of unused variables (or variables that are set but never read).
- Move some declarations into the correct #ifdef scope. I couldn't compile/test netware, but the changes look obvious enough. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@982016 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
2
modules/cache/mod_cache.c
vendored
2
modules/cache/mod_cache.c
vendored
@@ -885,7 +885,6 @@ static int cache_save_filter(ap_filter_t *f, apr_bucket_brigade *in)
|
||||
* buckets and use their length to calculate the size
|
||||
*/
|
||||
int all_buckets_here=0;
|
||||
int unresolved_length = 0;
|
||||
size=0;
|
||||
for (e = APR_BRIGADE_FIRST(in);
|
||||
e != APR_BRIGADE_SENTINEL(in);
|
||||
@@ -896,7 +895,6 @@ static int cache_save_filter(ap_filter_t *f, apr_bucket_brigade *in)
|
||||
break;
|
||||
}
|
||||
if (APR_BUCKET_IS_FLUSH(e)) {
|
||||
unresolved_length = 1;
|
||||
continue;
|
||||
}
|
||||
if (e->length == (apr_size_t)-1) {
|
||||
|
||||
Reference in New Issue
Block a user