From a939819a74fefffb20024db1c343497afdb17781 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/351f47c3a0ceaca595cfc49f4668ab42f2d5c19d 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 3135a2492..09234b75e 100644 --- a/src/gui/scan.cpp +++ b/src/gui/scan.cpp @@ -77,6 +77,7 @@ CScanTs::CScanTs() snrscale = new CProgressBar(); snrscale->setBlink(); + memset(&TP, 0, sizeof(TP)); // valgrind } CScanTs::~CScanTs() @@ -258,6 +259,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) {