mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
initialize variables (mostly to silence valgrind)
Origin commit data
------------------
Branch: ni/coolstream
Commit: e1e4a0f3a0
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-09-30 (Mon, 30 Sep 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -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