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 --- switchtimer_thread.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'switchtimer_thread.c') diff --git a/switchtimer_thread.c b/switchtimer_thread.c index 3b2ce99..9da5421 100644 --- a/switchtimer_thread.c +++ b/switchtimer_thread.c @@ -88,12 +88,8 @@ void cSwitchTimerThread::Action(void) { if (switchTimer->startTime - now < switchTimer->switchMinsBefore*60 + MSG_DELAY + 1) { -#if VDRVERSNUM > 20300 LOCK_CHANNELS_READ; const cChannels *vdrchannels = Channels; -#else - cChannels *vdrchannels = &Channels; -#endif const cChannel *channel = vdrchannels->GetByChannelID(switchTimer->channelID, true, true); bool doSwitch = (switchTimer->mode == 0); bool doAsk = (switchTimer->mode == 2); -- cgit v1.2.3