59234c
diff --git a/modules/filters/mod_deflate.c b/modules/filters/mod_deflate.c
59234c
index d218bab..9f86b09 100644
59234c
--- a/modules/filters/mod_deflate.c
59234c
+++ b/modules/filters/mod_deflate.c
59234c
@@ -864,7 +864,7 @@ static apr_status_t deflate_out_filter(ap_filter_t *f,
59234c
 
59234c
             if (c->note_output_name) {
59234c
                 apr_table_setn(r->notes, c->note_output_name,
59234c
-                               (ctx->stream.total_in > 0)
59234c
+                               (ctx->stream.total_out > 0)
59234c
                                 ? apr_off_t_toa(r->pool,
59234c
                                                 ctx->stream.total_out)
59234c
                                 : "-");
59234c
@@ -1336,8 +1336,6 @@ static apr_status_t deflate_in_filter(ap_filter_t *f,
59234c
             ctx->stream.next_in = (unsigned char *)data;
59234c
             ctx->stream.avail_in = (int)len;
59234c
 
59234c
-            zRC = Z_OK;
59234c
-
59234c
             if (!ctx->validation_buffer) {
59234c
                 while (ctx->stream.avail_in != 0) {
59234c
                     if (ctx->stream.avail_out == 0) {