summaryrefslogtreecommitdiff
path: root/eit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2020-05-04 13:02:14 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2020-05-04 13:02:14 +0200
commitf624a082ad1a95dc0f00257179ca2261dc367189 (patch)
tree4e93c9b655e9f6f36f8f0f72b7a349c0bb4d77bb /eit.c
parent38703cbf5db1d999787fff5c6f07be90d202c01a (diff)
downloadvdr-f624a082ad1a95dc0f00257179ca2261dc367189.tar.gz
vdr-f624a082ad1a95dc0f00257179ca2261dc367189.tar.bz2
Fixed initializer
Diffstat (limited to 'eit.c')
-rw-r--r--eit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eit.c b/eit.c
index d437b441..ffdec419 100644
--- a/eit.c
+++ b/eit.c
@@ -8,7 +8,7 @@
* Robert Schneider <Robert.Schneider@web.de> and Rolf Hakenes <hakenes@hippomi.de>.
* Adapted to 'libsi' for VDR 1.3.0 by Marcel Wiesweg <marcel.wiesweg@gmx.de>.
*
- * $Id: eit.c 4.8 2020/05/04 12:28:31 kls Exp $
+ * $Id: eit.c 4.9 2020/05/04 13:02:14 kls Exp $
*/
#include "eit.h"
@@ -391,7 +391,7 @@ cTDT::cTDT(const u_char *Data)
if (abs(diff) > MAX_TIME_DIFF) {
mutex.Lock();
if (abs(diff) > MAX_ADJ_DIFF) {
- timespec ts = { 0 };
+ timespec ts = {};
ts.tv_sec = dvbtim;
if (clock_settime(CLOCK_REALTIME, &ts) == 0)
isyslog("system time changed from %s (%ld) to %s (%ld)", *TimeToString(loctim), loctim, *TimeToString(dvbtim), dvbtim);