diff --git a/LucasChainGenerator/src/LCG_macros.h b/LucasChainGenerator/src/LCG_macros.h
index 02ff6d4b2828206433d7ee7e59e3adc9445059bc..b6a28d682362522fe9a0652c86f9262783b7fe32 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 )\
 	{\