CScanTs: silence valgrind

This commit is contained in:
Stefan Seyfried
2013-04-06 16:59:39 +02:00
parent 14783a7581
commit 351f47c3a0

View File

@@ -77,6 +77,7 @@ CScanTs::CScanTs()
snrscale = new CProgressBar(); snrscale = new CProgressBar();
snrscale->setBlink(); snrscale->setBlink();
memset(&TP, 0, sizeof(TP)); // valgrind
} }
CScanTs::~CScanTs() CScanTs::~CScanTs()
@@ -258,6 +259,7 @@ int CScanTs::exec(CMenuTarget* /*parent*/, const std::string & actionKey)
CServiceScan::getInstance()->SetCableNID(scansettings.cable_nid); CServiceScan::getInstance()->SetCableNID(scansettings.cable_nid);
CZapitClient::commandSetScanSatelliteList sat; CZapitClient::commandSetScanSatelliteList sat;
memset(&sat, 0, sizeof(sat)); // valgrind
CZapitClient::ScanSatelliteList satList; CZapitClient::ScanSatelliteList satList;
satList.clear(); satList.clear();
if(fast) { if(fast) {