From 8905334e795a299f332395b92faaa5560b2d4c7f Mon Sep 17 00:00:00 2001 From: Frank Neumann Date: Sun, 7 May 2017 15:57:26 +0200 Subject: Drop legacy code prior VDR 2.3.x --- services.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'services.c') diff --git a/services.c b/services.c index 3c2dac8..02b9934 100644 --- a/services.c +++ b/services.c @@ -145,24 +145,16 @@ std::list cEpgsearchServiceHandler::TranslateResults(cSearchResults eTimerMatch timerMatch; bool hasTimer = false; -#if VDRVERSNUM > 20300 LOCK_TIMERS_READ; const cTimers *vdrtimers = Timers; -#else - cTimers *vdrtimers = &Timers; -#endif if (vdrtimers->GetMatch(pEvent, &timerMatch)) hasTimer = (timerMatch == tmFull); if (!result->search->useAsSearchTimer) result->needsTimer = false; -#if VDRVERSNUM > 20300 LOCK_CHANNELS_READ; const cChannels *vdrchannels = Channels; -#else - cChannels *vdrchannels = &Channels; -#endif const cChannel *channel = vdrchannels->GetByChannelID(pEvent->ChannelID(), true, true); int timerMode = hasTimer?1:(result->needsTimer?2:0); -- cgit v1.2.3