summaryrefslogtreecommitdiff
path: root/xmltv2vdr.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2012-04-04 13:05:15 +0200
committerJochen Dolze <vdr@dolze.de>2012-04-04 13:05:15 +0200
commit4d5bfc7c68db5776711b21fbcef70d02f22b5789 (patch)
tree07c2cde08530a8a48dcc79f7342528e7c7c231dc /xmltv2vdr.cpp
parent3033eb15a2e29abe3e30ed89a44179069e0b06a2 (diff)
downloadvdr-plugin-xmltv2vdr-4d5bfc7c68db5776711b21fbcef70d02f22b5789.tar.gz
vdr-plugin-xmltv2vdr-4d5bfc7c68db5776711b21fbcef70d02f22b5789.tar.bz2
Added cppcheck 1.53 suggestions
Diffstat (limited to 'xmltv2vdr.cpp')
-rw-r--r--xmltv2vdr.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/xmltv2vdr.cpp b/xmltv2vdr.cpp
index 1ef897a..6e00925 100644
--- a/xmltv2vdr.cpp
+++ b/xmltv2vdr.cpp
@@ -197,13 +197,11 @@ void cEPGTimer::Action()
if (!xevent) continue;
}
- int Flags=USE_SEASON;
-
cSchedule* schedule = (cSchedule *) schedules->GetSchedule(chan,false);
if (schedule)
{
import->PutEvent(sources->GetSource(EITSOURCE),NULL,schedule,
- (cEvent *) event,xevent,Flags,IMPORT_DESCRIPTION);
+ (cEvent *) event,xevent,USE_SEASON,IMPORT_DESCRIPTION);
}
delete xevent;
}
@@ -349,6 +347,7 @@ bool cPluginXmltv2vdr::Initialize(void)
bool cPluginXmltv2vdr::Start(void)
{
// Start any background activities the plugin shall perform.
+ if (confdir) free(confdir);
confdir=strdup(ConfigDirectory(PLUGIN_NAME_I18N)); // creates internally the confdir!
if (!epgfile)
{