summaryrefslogtreecommitdiff
path: root/menu_deftimercheckmethod.c
diff options
context:
space:
mode:
authorFrank Neumann <fnu@yavdr.org>2017-05-07 15:57:26 +0200
committerFrank Neumann <fnu@yavdr.org>2017-05-07 15:57:26 +0200
commit8905334e795a299f332395b92faaa5560b2d4c7f (patch)
tree547ddad686a9cd3c6a5b77d8dd47448319fe3b63 /menu_deftimercheckmethod.c
parent708819a7b5653f2d66c7fb17baba2c7a081a47a7 (diff)
downloadvdr-plugin-epgsearch-8905334e795a299f332395b92faaa5560b2d4c7f.tar.gz
vdr-plugin-epgsearch-8905334e795a299f332395b92faaa5560b2d4c7f.tar.bz2
Drop legacy code prior VDR 2.3.x
Diffstat (limited to 'menu_deftimercheckmethod.c')
-rw-r--r--menu_deftimercheckmethod.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/menu_deftimercheckmethod.c b/menu_deftimercheckmethod.c
index 2e24820..f529d6e 100644
--- a/menu_deftimercheckmethod.c
+++ b/menu_deftimercheckmethod.c
@@ -140,12 +140,8 @@ void cMenuDefTimerCheckMethod::Set()
Clear();
delete modes;
-#if VDRVERSNUM > 20300
LOCK_CHANNELS_READ;
const cChannels *vdrchannels = Channels;
-#else
- cChannels *vdrchannels = &Channels;
-#endif
modes = new int[vdrchannels->Count()];
int i=0;
for (const cChannel *channel = vdrchannels->First(); channel; channel = vdrchannels->Next(channel), i++)
@@ -168,12 +164,8 @@ eOSState cMenuDefTimerCheckMethod::ProcessKey(eKeys Key)
case kOk:
{
int i=0;
-#if VDRVERSNUM > 20300
LOCK_CHANNELS_READ;
const cChannels *vdrchannels = Channels;
-#else
- cChannels *vdrchannels = &Channels;
-#endif
for (const cChannel *channel = vdrchannels->First(); channel; channel = vdrchannels->Next(channel), i++)
if (!channel->GroupSep() && *channel->Name())
DefTimerCheckModes.SetMode(channel, modes[i]);