diff options
| author | Dave <vdr@pickles.me.uk> | 2012-04-23 14:19:59 +0100 |
|---|---|---|
| committer | Dave <vdr@pickles.me.uk> | 2012-04-23 14:19:59 +0100 |
| commit | 2544afc1b2ab74df638bd11a0a2d63ccba293255 (patch) | |
| tree | faa0fb07bb17b7502234362349d94fbc5a9f4f72 | |
| parent | acdfd5dfd2498d0a5e5353fb838d231b50aa5492 (diff) | |
| download | vdrtva-2544afc1b2ab74df638bd11a0a2d63ccba293255.tar.gz vdrtva-2544afc1b2ab74df638bd11a0a2d63ccba293255.tar.bz2 | |
Suppress a few compiler warnings with latest gcc.
| -rw-r--r-- | vdrtva.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -677,7 +677,7 @@ void cPluginvdrTva::CheckChangedEvents() const cChannel *channel = ti->Channel(); const cSchedule *schedule = Schedules->GetSchedule(channel); if (schedule && ti->HasFlags(tfActive)) { - const cEvent *event = schedule->GetEvent(NULL, ti->StartTime()); + const cEvent *event = schedule->GetEvent(0, ti->StartTime()); const char *file = strrchr(ti->File(), '~'); if (!file) file = ti->File(); else file++; @@ -908,7 +908,7 @@ void cPluginvdrTva::tvasyslog(const char *Fmt, ...) { cTvaStatusMonitor::cTvaStatusMonitor(void) { - timeradded = NULL; + timeradded = 0; lasttimer = NULL; } @@ -930,7 +930,7 @@ int cTvaStatusMonitor::GetTimerAddedDelta(void) void cTvaStatusMonitor::ClearTimerAdded(void) { - timeradded = NULL; + timeradded = 0; return; } |
