summaryrefslogtreecommitdiff
path: root/lib/compression/tests/test_lzx_huffman.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compression/tests/test_lzx_huffman.c')
-rw-r--r--lib/compression/tests/test_lzx_huffman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/compression/tests/test_lzx_huffman.c b/lib/compression/tests/test_lzx_huffman.c
index 2adbe68f799..da094555c2d 100644
--- a/lib/compression/tests/test_lzx_huffman.c
+++ b/lib/compression/tests/test_lzx_huffman.c
@@ -976,7 +976,7 @@ static void test_lzxpress_huffman_random_noise_round_trip(void **state)
static void test_lzxpress_huffman_overlong_matches(void **state)
{
- size_t i, j;
+ size_t i, j = 0;
TALLOC_CTX *mem_ctx = talloc_new(NULL);
DATA_BLOB original = data_blob_talloc(mem_ctx, NULL, 1024 * 1024);
DATA_BLOB ref = {0};
@@ -1017,7 +1017,7 @@ static void test_lzxpress_huffman_overlong_matches(void **state)
static void test_lzxpress_huffman_overlong_matches_abc(void **state)
{
- size_t i, j, k;
+ size_t i, j = 0, k = 0;
TALLOC_CTX *mem_ctx = talloc_new(NULL);
DATA_BLOB original = data_blob_talloc(mem_ctx, NULL, 1024 * 1024);
DATA_BLOB ref = {0};