From: Philip M. Gollucci Date: Fri, 6 Aug 2010 20:10:25 +0000 (+0000) Subject: zRC is never used before its overwritten below the while loop X-Git-Tag: 2.3.7~30 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8bfe3c4791f07f752080ecb7b499ba15d40b308a;p=apache 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 --- 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) {