summaryrefslogtreecommitdiff
path: root/epgsearchext.c
diff options
context:
space:
mode:
Diffstat (limited to 'epgsearchext.c')
-rw-r--r--epgsearchext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epgsearchext.c b/epgsearchext.c
index 64b614a..5f90856 100644
--- a/epgsearchext.c
+++ b/epgsearchext.c
@@ -957,7 +957,7 @@ cEvent * cSearchExt::GetEventBySearchExt(const cSchedule *schedules, const cEven
{
time_t tEvent = p->StartTime();
struct tm tmEvent;
- tm tm = *localtime_r(&tEvent, &tmEvent);
+ localtime_r(&tEvent, &tmEvent);
if (DayOfWeek >= 0 && DayOfWeek != tmEvent.tm_wday)
continue;
if (DayOfWeek < 0)