You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pg...@apache.org on 2010/08/06 22:10:25 UTC
svn commit: r983117 - /httpd/httpd/trunk/modules/filters/mod_deflate.c
Author: pgollucci
Date: Fri Aug 6 20:10:25 2010
New Revision: 983117
URL: http://svn.apache.org/viewvc?rev=983117&view=rev
Log:
zRC is never used before its overwritten below the while loop
Reported by: clang static analyzer
Modified:
httpd/httpd/trunk/modules/filters/mod_deflate.c
Modified: httpd/httpd/trunk/modules/filters/mod_deflate.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_deflate.c?rev=983117&r1=983116&r2=983117&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_deflate.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_deflate.c Fri Aug 6 20:10:25 2010
@@ -1319,8 +1319,6 @@ static apr_status_t inflate_out_filter(a
}
}
- zRC = Z_OK;
-
while (ctx->stream.avail_in != 0) {
if (ctx->stream.avail_out == 0) {