summaryrefslogtreecommitdiff
path: root/menu_event.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_event.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_event.c')
-rw-r--r--menu_event.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/menu_event.c b/menu_event.c
index 4136795..e90d123 100644
--- a/menu_event.c
+++ b/menu_event.c
@@ -82,15 +82,10 @@ void cMenuEventSearch::Set()
if (event)
{
-#if VDRVERSNUM > 20300
LOCK_TIMERS_READ;
const cTimers *vdrtimers = Timers;
LOCK_CHANNELS_READ;
const cChannels *vdrchannels = Channels;
-#else
- cTimers *vdrtimers = &Timers;
- cChannels *vdrchannels = &Channels;
-#endif
const cChannel *channel = vdrchannels->GetByChannelID(event->ChannelID(), true, true);
bool canSwitch = false;
if (channel)
@@ -243,12 +238,8 @@ void cMenuEventSearchSimple::Set()
if (event)
{
-#if VDRVERSNUM > 20300
LOCK_CHANNELS_READ;
const cChannels *vdrchannels = Channels;
-#else
- cChannels *vdrchannels = &Channels;
-#endif
const cChannel *channel = vdrchannels->GetByChannelID(event->ChannelID(), true, true);
if (channel)
{