From 7ade54dfd75110cbca746af279c76ddedbcfcb77 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 18 Dec 2020 14:51:57 +0100 Subject: Fixed a compiler warning --- CONTRIBUTORS | 1 + HISTORY | 3 ++- dvbspu.c | 4 ++-- pat.c | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index e8cd8dd8..ed8ca4fa 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2772,6 +2772,7 @@ Winfried K cFileName::SetOffset() for adding initialization of cDvbFrontend::frontendInfo for improving handling missing VDRPluginDestroyer() + for fixing a compiler warning Hans-Werner Hilse for adding the command line option --userdump to enable core dumps in case VDR diff --git a/HISTORY b/HISTORY index 0378a1f3..f110848d 100644 --- a/HISTORY +++ b/HISTORY @@ -9536,7 +9536,7 @@ Video Disk Recorder Revision History cDvbTuner::GetSignalStats() to avoid problems with drivers that don't do this (thanks to Helmut Binder). -2020-12-17: +2020-12-18: - Fixed multiple recording entries in case a recording is started during the initial reading of the video directory (reported by Claus Muus). @@ -9559,3 +9559,4 @@ Video Disk Recorder Revision History - Improved handling missing VDRPluginDestroyer() (thanks to Winfried Köhler). - Fixed initializing tmpbuf in ExtendedEventDescriptors::getText() (thanks to Helmut Binder). +- Fixed a compiler warning (thanks to Winfried Köhler). diff --git a/dvbspu.c b/dvbspu.c index 6b3c2162..a277f425 100644 --- a/dvbspu.c +++ b/dvbspu.c @@ -8,7 +8,7 @@ * * parts of this file are derived from the OMS program. * - * $Id: dvbspu.c 2.11 2013/02/22 15:25:16 kls Exp $ + * $Id: dvbspu.c 4.1 2020/12/18 14:51:57 kls Exp $ */ #include "dvbspu.h" @@ -38,7 +38,7 @@ #ifdef SPUDEBUG #define DEBUG(format, args...) printf (format, ## args) #else -#define DEBUG(format, args...) +#define DEBUG(format, args...) void() #endif // --- cDvbSpuPalette--------------------------------------------------------- diff --git a/pat.c b/pat.c index 4b320245..72164c49 100644 --- a/pat.c +++ b/pat.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: pat.c 4.8 2020/12/12 10:31:52 kls Exp $ + * $Id: pat.c 4.9 2020/12/18 14:51:57 kls Exp $ */ #include "pat.h" @@ -334,7 +334,7 @@ cPmtSidEntry::cPmtSidEntry(int Sid, int Pid, cPmtPidEntry *PidEntry) #ifdef DEBUG_PAT_PMT #define DBGLOG(a...) { cString s = cString::sprintf(a); fprintf(stderr, "%s\n", *s); dsyslog("%s", *s); } #else -#define DBGLOG(a...) +#define DBGLOG(a...) void() #endif cPatFilter::cPatFilter(void) -- cgit v1.2.3