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