1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed missing initialization of 'number' in cChannel

This commit is contained in:
Klaus Schmidinger 2002-11-24 20:13:56 +01:00
parent b4d1358c50
commit 161b963fc5
4 changed files with 10 additions and 3 deletions

View File

@ -48,6 +48,7 @@ Martin Hammerschmid <martin@hammerschmid.com>
for adding a missing #include to ringbuffer.c for adding a missing #include to ringbuffer.c
for adding a missing 'public' keyword in device.h for adding a missing 'public' keyword in device.h
for pointing out a bug in displaying the group separators in the channel display for pointing out a bug in displaying the group separators in the channel display
for reporting a problem with a missing initialization of 'number' in cChannel
Bastian Guse <bastian@nocopy.de> Bastian Guse <bastian@nocopy.de>
for writing the FORMATS entry for timers.conf for writing the FORMATS entry for timers.conf

View File

@ -1812,3 +1812,8 @@ Video Disk Recorder Revision History
'now +/- LOCKFILESTALETIME'. This improves things in cases where the system time 'now +/- LOCKFILESTALETIME'. This improves things in cases where the system time
makes far jumps, so that a lock file might end up with a time stamp that lies makes far jumps, so that a lock file might end up with a time stamp that lies
in the distant future (thanks to Oliver Endriss). in the distant future (thanks to Oliver Endriss).
2002-11-24: Version 1.1.18
- Fixed missing initialization of 'number' in cChannel (thanks to Martin Hammerschmid
for reporting this one).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: channels.c 1.9 2002/11/24 14:28:48 kls Exp $ * $Id: channels.c 1.10 2002/11/24 20:09:42 kls Exp $
*/ */
#include "channels.h" #include "channels.h"
@ -174,6 +174,7 @@ cChannel::cChannel(void)
tid = 0; tid = 0;
sid = 888; sid = 888;
rid = 0; rid = 0;
number = 0;
groupSep = false; groupSep = false;
polarization = 'v'; polarization = 'v';
inversion = INVERSION_AUTO; inversion = INVERSION_AUTO;

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: config.h 1.141 2002/11/24 12:28:20 kls Exp $ * $Id: config.h 1.142 2002/11/24 20:09:56 kls Exp $
*/ */
#ifndef __CONFIG_H #ifndef __CONFIG_H
@ -19,7 +19,7 @@
#include "device.h" #include "device.h"
#include "tools.h" #include "tools.h"
#define VDRVERSION "1.1.17" #define VDRVERSION "1.1.18"
#define MAXPRIORITY 99 #define MAXPRIORITY 99
#define MAXLIFETIME 99 #define MAXLIFETIME 99