summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2019-04-15 18:17:35 (GMT)
committerYann Collet <cyan@fb.com>2019-04-15 18:17:35 (GMT)
commitac5d2629c1689efb0864225a71465e8d27526bf3 (patch)
tree9148b5041c10ebc69e5d70e41aca722885d5c41a /tests
parent98e5c0062fe80c98f5bc6231b5eb8bf9330b55be (diff)
downloadlz4-ac5d2629c1689efb0864225a71465e8d27526bf3.zip
lz4-ac5d2629c1689efb0864225a71465e8d27526bf3.tar.gz
lz4-ac5d2629c1689efb0864225a71465e8d27526bf3.tar.bz2
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/frametest.c2
1 files changed, 1 insertions, 1 deletions
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);