From 94883e087706eb33953ba99c733e9d9119281d70 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Fri, 22 Feb 2013 17:16:43 +0100 Subject: [PATCH] channellist: initialize values to satisfy valgrind --- src/gui/channellist.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/channellist.cpp b/src/gui/channellist.cpp index 1e9d4eba2..6318113e0 100644 --- a/src/gui/channellist.cpp +++ b/src/gui/channellist.cpp @@ -2177,6 +2177,7 @@ void CChannelList::paint_events(int index) evt.description = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS); evt.eventID = 0; + evt.startTime = 0; evtlist.push_back(evt); } @@ -2237,6 +2238,7 @@ void CChannelList::readEvents(const t_channel_id channel_id) CChannelEvent evt; evt.description = g_Locale->getText(LOCALE_EPGLIST_NOEVENTS); evt.eventID = 0; + evt.startTime = 0; evtlist.push_back(evt); } else