From df090f119de8ba11e345f60a6b2c97aaefa28e77 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Mon, 26 Oct 2026 17:32:54 -0400 Subject: [PATCH] demoddvb: Initialize EPG section storage Value-initialize the DVB and Freesat section containers in the EPG constructor to ensure section storage starts in a defined state. Identified by cppcheck. Signed-off-by: Robin Getz --- plugins/channelrx/demoddvb/dvbdemodepg.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/channelrx/demoddvb/dvbdemodepg.cpp b/plugins/channelrx/demoddvb/dvbdemodepg.cpp index dfca9cd84..afc2e2c92 100644 --- a/plugins/channelrx/demoddvb/dvbdemodepg.cpp +++ b/plugins/channelrx/demoddvb/dvbdemodepg.cpp @@ -114,6 +114,12 @@ int DVBDemodEPG::eitVersionKey(int sourceTable, int section) } DVBDemodEPG::DVBDemodEPG() : + m_nitSections{}, + m_sdtSections{}, + m_eitSections{}, + m_timeSections{}, + m_freesatSiSections{}, + m_freesatEitSections{}, m_freesatRegion(0), m_networkId(-1), m_transportStreamId(-1),