From b2c90b1efe2355821599c7a7e47e889937d47d10 Mon Sep 17 00:00:00 2001 From: OBones Date: Mon, 20 Feb 2023 15:41:24 +0100 Subject: [PATCH] fix: avoid using an unitialized variable --- RFLink/Plugins/Plugin_003.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RFLink/Plugins/Plugin_003.cpp b/RFLink/Plugins/Plugin_003.cpp index 692418ba..b66505a0 100644 --- a/RFLink/Plugins/Plugin_003.cpp +++ b/RFLink/Plugins/Plugin_003.cpp @@ -1025,7 +1025,7 @@ void TriState_Send(unsigned long bitstream) int fretrans = 8; // Number of code retransmissions uint32_t fdatabit; uint32_t fdatamask = 0x00000003; - uint32_t fsendbuff; + uint32_t fsendbuff = 0; // reverse data bits (2 by 2) for (unsigned short i = 0; i < 12; i++)