httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgollu...@apache.org
Subject svn commit: r983117 - /httpd/httpd/trunk/modules/filters/mod_deflate.c
Date Fri, 06 Aug 2010 20:10:25 GMT
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) {
 



Mime
View raw message