From cc44595f98f224f29f2c1bcd6242fc287770b073 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 29 May 2024 02:26:40 +0200 Subject: [PATCH] test_rtt: Fix possible use of uninitialized variable Signed-off-by: Steffen Vogel --- lib/nodes/test_rtt.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/nodes/test_rtt.cpp b/lib/nodes/test_rtt.cpp index 378706f81..2ba494a00 100644 --- a/lib/nodes/test_rtt.cpp +++ b/lib/nodes/test_rtt.cpp @@ -305,6 +305,8 @@ int TestRTT::parse(json_t *json) { break; default: { + count_effective = 0; + break; } }