From 855a8811d0e009a9a858cf76d6617c65219d0d4e Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Thu, 10 Sep 2026 23:33:45 -0400 Subject: [PATCH] packetmodrepeatdialog: Initialize packet repeat dialog state Initialize m_repeatDelay and m_repeatCount from the corresponding constructor arguments so the dialog state is defined when the dialog is created. These members were previously left uninitialized despite the constructor receiving the values used to initialize the corresponding UI controls. This resolves the uninitialized member findings reported by Coverity (UNINIT_CTOR). Signed-off-by: Robin Getz --- plugins/channeltx/modpacket/packetmodrepeatdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/channeltx/modpacket/packetmodrepeatdialog.cpp b/plugins/channeltx/modpacket/packetmodrepeatdialog.cpp index e85813e36..ad3207488 100644 --- a/plugins/channeltx/modpacket/packetmodrepeatdialog.cpp +++ b/plugins/channeltx/modpacket/packetmodrepeatdialog.cpp @@ -24,6 +24,8 @@ PacketModRepeatDialog::PacketModRepeatDialog(float repeatDelay, int repeatCount, QWidget* parent) : QDialog(parent), + m_repeatDelay(repeatDelay), + m_repeatCount(repeatCount), ui(new Ui::PacketModRepeatDialog) { ui->setupUi(this);