mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
channellist: initialize values to satisfy valgrind
This commit is contained in:
committed by
Jacek Jendrzej
parent
662955f9e7
commit
b0c7ca94a7
@@ -2158,6 +2158,7 @@ void CChannelList::paint_events(int index)
|
|||||||
|
|
||||||
evt.description = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS);
|
evt.description = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS);
|
||||||
evt.eventID = 0;
|
evt.eventID = 0;
|
||||||
|
evt.startTime = 0;
|
||||||
evtlist.push_back(evt);
|
evtlist.push_back(evt);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2218,6 +2219,7 @@ void CChannelList::readEvents(const t_channel_id channel_id)
|
|||||||
CChannelEvent evt;
|
CChannelEvent evt;
|
||||||
evt.description = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS);
|
evt.description = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS);
|
||||||
evt.eventID = 0;
|
evt.eventID = 0;
|
||||||
|
evt.startTime = 0;
|
||||||
evtlist.push_back(evt);
|
evtlist.push_back(evt);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user