From 86598290e4a1ea4f40d0dfff209b47a06079e2fb Mon Sep 17 00:00:00 2001
From: Paul Zimmermann <Paul.Zimmermann@inria.fr>
Date: Sat, 22 Jun 2024 08:01:19 +0200
Subject: [PATCH] [LCG_macros.h] fixed compiler warning with clang

---
 LucasChainGenerator/src/LCG_macros.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/LucasChainGenerator/src/LCG_macros.h b/LucasChainGenerator/src/LCG_macros.h
index 02ff6d4b..b6a28d68 100644
--- a/LucasChainGenerator/src/LCG_macros.h
+++ b/LucasChainGenerator/src/LCG_macros.h
@@ -836,7 +836,8 @@ bypass:\
 	uint8_t i, j, len, index1, index2;\
 	uint8_t step_type[MAX_WORKING_CHAIN_LENGTH];\
 	uint8_t step_index2[MAX_WORKING_CHAIN_LENGTH];\
-	uint8_t type_count, type_index, increment, lower_limit;\
+	uint8_t type_count, type_index, increment, lower_limit=99;\
+	/* lower_limit initialized to 99 to fix clang warning */\
 \
 	if( init == 0 )\
 	{\
-- 
GitLab