From 5428f12f9736d180e1ce0708bb9edbea67baf0e7 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 6 Apr 2013 16:59:39 +0200 Subject: [PATCH] CScanTs: silence valgrind Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/13871d832883c97bd4fc21a167d15f7a89fa4feb Author: Stefan Seyfried Date: 2013-04-06 (Sat, 06 Apr 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/scan.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/scan.cpp b/src/gui/scan.cpp index a3e85b090..eeaac8342 100644 --- a/src/gui/scan.cpp +++ b/src/gui/scan.cpp @@ -86,6 +86,7 @@ CScanTs::CScanTs() snrscale = new CProgressBar(); snrscale->setBlink(); + memset(&TP, 0, sizeof(TP)); // valgrind } CScanTs::~CScanTs() @@ -236,6 +237,7 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey) CServiceScan::getInstance()->SetCableNID(scansettings.cable_nid); CZapitClient::commandSetScanSatelliteList sat; + memset(&sat, 0, sizeof(sat)); // valgrind CZapitClient::ScanSatelliteList satList; satList.clear(); if(fast) {