summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@apache.org>2010-08-06 22:10:25 +0200
committerPhilip M. Gollucci <pgollucci@apache.org>2010-08-06 22:10:25 +0200
commit8bfe3c4791f07f752080ecb7b499ba15d40b308a (patch)
tree11dc258c2b4d742d2bb958f83cdd4ce317b6c0da
parentrv is never used which makes the whole if useless (diff)
downloadapache2-8bfe3c4791f07f752080ecb7b499ba15d40b308a.tar.xz
apache2-8bfe3c4791f07f752080ecb7b499ba15d40b308a.zip
zRC is never used before its overwritten below the while loop
Reported by: clang static analyzer git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983117 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--modules/filters/mod_deflate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/filters/mod_deflate.c b/modules/filters/mod_deflate.c
index c3be180bf7..254cb0e06a 100644
--- a/modules/filters/mod_deflate.c
+++ b/modules/filters/mod_deflate.c
@@ -1319,8 +1319,6 @@ static apr_status_t inflate_out_filter(ap_filter_t *f,
}
}
- zRC = Z_OK;
-
while (ctx->stream.avail_in != 0) {
if (ctx->stream.avail_out == 0) {