From ac5d2629c1689efb0864225a71465e8d27526bf3 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Mon, 15 Apr 2019 11:17:35 -0700 Subject: added a fake initialization to please an analyzer which is unable to understand that the variable is necessarily initialized in spite of an assert just before. --- tests/frametest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/frametest.c b/tests/frametest.c index 657a963..a5197ff 100644 --- a/tests/frametest.c +++ b/tests/frametest.c @@ -920,7 +920,7 @@ int fuzzerTests(U32 seed, unsigned nbTests, unsigned startTest, double compressi unsigned const maxBits = MAX(3, suggestedBits); unsigned const nonContiguousDst = FUZ_rand(&randState) % 3; /* 0 : contiguous; 1 : non-contiguous; 2 : dst overwritten */ size_t totalOut = 0; - size_t decSize; + size_t decSize = 0; XXH64_state_t xxh64; XXH64_reset(&xxh64, 1); assert(ip < iend); -- cgit v0.12