summaryrefslogtreecommitdiff
path: root/switchtimer_thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'switchtimer_thread.c')
-rw-r--r--switchtimer_thread.c4
1 files changed, 0 insertions, 4 deletions
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);