summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2020-12-18 14:51:57 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2020-12-18 14:51:57 +0100
commit7ade54dfd75110cbca746af279c76ddedbcfcb77 (patch)
treee043074b012b565cf1e2ef8cbf51b12100c1e3ab
parent45fde332a02b1ab11546f1663c63b9b3f34ea1a7 (diff)
downloadvdr-7ade54dfd75110cbca746af279c76ddedbcfcb77.tar.gz
vdr-7ade54dfd75110cbca746af279c76ddedbcfcb77.tar.bz2
Fixed a compiler warning
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY3
-rw-r--r--dvbspu.c4
-rw-r--r--pat.c4
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öhler <w_koehl@gmx.de>
cFileName::SetOffset()
for adding initialization of cDvbFrontend::frontendInfo
for improving handling missing VDRPluginDestroyer()
+ for fixing a compiler warning
Hans-Werner Hilse <hilse@web.de>
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)