diff options
author | Stefan Eissing <icing@apache.org> | 2023-04-27 07:14:36 +0000 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2023-04-27 07:14:36 +0000 |
commit | 4fc2fd7dd5603f02096750c33cd152ae2cd64e1e (patch) | |
tree | f81765f183aeb9eeab90e215f36b135e532de33c /modules/proxy | |
parent | 1e801bec039c97336f99b470091b637b46f0bb2d (diff) | |
download | httpd-4fc2fd7dd5603f02096750c33cd152ae2cd64e1e.tar.gz |
Make sources build with latest clang version
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909450 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/proxy')
-rw-r--r-- | modules/proxy/balancers/mod_lbmethod_heartbeat.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/proxy/balancers/mod_lbmethod_heartbeat.c b/modules/proxy/balancers/mod_lbmethod_heartbeat.c index 412bac420e..ef38cd92fa 100644 --- a/modules/proxy/balancers/mod_lbmethod_heartbeat.c +++ b/modules/proxy/balancers/mod_lbmethod_heartbeat.c @@ -115,7 +115,6 @@ static apr_status_t readfile_heartbeats(const char *path, apr_hash_t *servers, { char *t; - int lineno = 0; apr_bucket_alloc_t *ba = apr_bucket_alloc_create(pool); apr_bucket_brigade *bb = apr_brigade_create(pool, ba); apr_bucket_brigade *tmpbb = apr_brigade_create(pool, ba); @@ -137,7 +136,6 @@ static apr_status_t readfile_heartbeats(const char *path, apr_hash_t *servers, rv = apr_brigade_split_line(tmpbb, bb, APR_BLOCK_READ, sizeof(buf)); - lineno++; if (rv) { return rv; |