mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
initialize variables (mostly to silence valgrind)
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
committed by
Jacek Jendrzej
parent
878d8a55be
commit
f485bceff7
@@ -144,6 +144,7 @@ bool timerd_parse_command(CBasicMessage::Header &rmsg, int connfd)
|
||||
for(CTimerEventMap::iterator lpos = events.begin();lpos != events.end();++lpos)
|
||||
{
|
||||
CTimerd::responseGetTimer lresp;
|
||||
memset(&lresp, 0, sizeof(lresp)); /* valgrind... */
|
||||
|
||||
CTimerEvent *event = lpos->second;
|
||||
|
||||
@@ -253,6 +254,7 @@ bool timerd_parse_command(CBasicMessage::Header &rmsg, int connfd)
|
||||
CTimerdMsg::responseAddTimer rspAddTimer;
|
||||
CTimerEvent* event;
|
||||
CTimerd::TransferEventInfo evInfo;
|
||||
rspAddTimer.eventID = 0; /* silence valgrind */
|
||||
switch(msgAddTimer.eventType)
|
||||
{
|
||||
case CTimerd::TIMER_STANDBY :
|
||||
|
@@ -63,6 +63,7 @@ void CTimerManager::Init(void)
|
||||
m_isTimeSet = false;
|
||||
timer_is_rec = false;
|
||||
wakeup = 0;
|
||||
shutdown_eventID = -1;
|
||||
loadRecordingSafety();
|
||||
|
||||
//thread starten
|
||||
|
Reference in New Issue
Block a user