04f4ee
From f776e1609cc63bf486634ee9bc6226dac2c0d2f3 Mon Sep 17 00:00:00 2001
04f4ee
From: Ondrej Dubaj <odubaj@redhat.com>
04f4ee
Date: Tue, 15 Oct 2019 11:27:15 +0200
04f4ee
Subject: [PATCH] fixed covscan issues
04f4ee
04f4ee
---
04f4ee
 crc32.c           | 2 +-
04f4ee
 deflate.c         | 2 +-
04f4ee
 test/crc32_test.c | 8 ++++----
04f4ee
 3 files changed, 6 insertions(+), 6 deletions(-)
04f4ee
04f4ee
diff --git a/deflate.c b/deflate.c
04f4ee
index 089285a..9b09718 100644
04f4ee
--- a/deflate.c
04f4ee
+++ b/deflate.c
04f4ee
@@ -1015,7 +1015,7 @@ int ZEXPORT deflate (strm, flush)
04f4ee
      */
04f4ee
     if (strm->avail_in != 0 || s->lookahead != 0 ||
04f4ee
         (flush != Z_NO_FLUSH && s->status != FINISH_STATE)) {
04f4ee
-        block_state bstate;
04f4ee
+        block_state bstate = 0;
04f4ee
 
04f4ee
         bstate = DEFLATE_HOOK(strm, flush, &bstate) ? bstate :
04f4ee
                  s->level == 0 ? deflate_stored(s, flush) :
04f4ee