From e5effe657192dafcc487ea66148196c774f07b34 Mon Sep 17 00:00:00 2001 From: Phil Taylor Date: Sat, 14 Aug 2021 17:22:20 +0100 Subject: [PATCH] And another one --- rigctld.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rigctld.cpp b/rigctld.cpp index 3abe681..4879728 100644 --- a/rigctld.cpp +++ b/rigctld.cpp @@ -633,7 +633,7 @@ void rigCtlClient::socketReadyRead() } else if (command.length() > 2 && (command[0] == "L" || command[0] == "set_level")) { - unsigned char value; + unsigned char value=0; setCommand = true; if (command[1] == "AF") { value = command[2].toFloat() * 255;