From 842e680650f8a74a0897c615c4c7fef102a7fb6b Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Wed, 22 Mar 2023 21:39:03 +0200 Subject: [PATCH] clang 14 makes some test failed because val is uninitialized --- src/fdr/teddy_runtime_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fdr/teddy_runtime_common.h b/src/fdr/teddy_runtime_common.h index b76800eb..d27be994 100644 --- a/src/fdr/teddy_runtime_common.h +++ b/src/fdr/teddy_runtime_common.h @@ -348,7 +348,7 @@ static really_inline m512 vectoredLoad512(m512 *p_mask, const u8 *ptr, const size_t start_offset, const u8 *lo, const u8 *hi, const u8 *hbuf, size_t hlen, const u32 nMasks) { - m512 val; + m512 val = zeroes512(); uintptr_t copy_start; uintptr_t copy_len;