]> granicus.if.org Git - apache/commitdiff
zRC is never used before its overwritten below the while loop
authorPhilip M. Gollucci <pgollucci@apache.org>
Fri, 6 Aug 2010 20:10:25 +0000 (20:10 +0000)
committerPhilip M. Gollucci <pgollucci@apache.org>
Fri, 6 Aug 2010 20:10:25 +0000 (20:10 +0000)
Reported by: clang static analyzer

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983117 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_deflate.c

index c3be180bf7b03723726c609503d38da1651f4be5..254cb0e06ae488544c6a9791372475f633a925a0 100644 (file)
@@ -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) {