From cbaa53b6fb384832aeeb8485b31496f894a4bfad Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Mon, 26 Oct 2026 17:46:27 -0400 Subject: [PATCH] dtv: Explicitly initialize PAT and PMT section containers Default-construct the PAT and PMT section containers in DTVRecorder's constructor. Identified by cppcheck. Signed-off-by: Robin Getz --- sdrbase/dtv/dtvrecorder.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdrbase/dtv/dtvrecorder.cpp b/sdrbase/dtv/dtvrecorder.cpp index d1efd3dd0..587b7fe41 100644 --- a/sdrbase/dtv/dtvrecorder.cpp +++ b/sdrbase/dtv/dtvrecorder.cpp @@ -27,6 +27,8 @@ DTVRecorder::DTVRecorder() : m_mode(Multiplex), m_serviceId(0), m_started(false), + m_patSections(), + m_pmtSections(), m_transportStreamId(-1), m_pmtPid(-1), m_pmtVersion(-1),