mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed a compiler warning about virtual cConfig::Load() functions
This commit is contained in:
parent
113957107e
commit
a84d559d2c
@ -522,6 +522,7 @@ Lauri Tischler <lauri.tischler@efore.fi>
|
|||||||
for reporting a faulty parameter initialization in menu.c
|
for reporting a faulty parameter initialization in menu.c
|
||||||
for reporting a problem in case the original current channel becomes
|
for reporting a problem in case the original current channel becomes
|
||||||
unavailable due to a recording on a different transponder
|
unavailable due to a recording on a different transponder
|
||||||
|
for reporting a compiler warning about virtual cConfig::Load() functions
|
||||||
|
|
||||||
Andy Carter <fruit@ukgateway.net>
|
Andy Carter <fruit@ukgateway.net>
|
||||||
for helping to test new DVB-T handling
|
for helping to test new DVB-T handling
|
||||||
|
2
HISTORY
2
HISTORY
@ -2542,3 +2542,5 @@ Video Disk Recorder Revision History
|
|||||||
|
|
||||||
- Fixed a lockup in the EPG scanner when no non-primary device was available
|
- Fixed a lockup in the EPG scanner when no non-primary device was available
|
||||||
(thanks to Martin Holst for reporting this one).
|
(thanks to Martin Holst for reporting this one).
|
||||||
|
- Fixed a compiler warning about virtual cConfig::Load() functions (thanks to
|
||||||
|
Lauri Tischler for reporting this one).
|
||||||
|
@ -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.h 1.10 2004/01/04 12:26:37 kls Exp $
|
* $Id: channels.h 1.11 2004/01/05 10:06:15 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CHANNELS_H
|
#ifndef __CHANNELS_H
|
||||||
@ -156,7 +156,7 @@ private:
|
|||||||
int beingEdited;
|
int beingEdited;
|
||||||
public:
|
public:
|
||||||
cChannels(void);
|
cChannels(void);
|
||||||
virtual bool Load(const char *FileName, bool AllowComments = false, bool MustExist = false);
|
bool Load(const char *FileName, bool AllowComments = false, bool MustExist = false);
|
||||||
int GetNextGroup(int Idx); // Get next channel group
|
int GetNextGroup(int Idx); // Get next channel group
|
||||||
int GetPrevGroup(int Idx); // Get previous channel group
|
int GetPrevGroup(int Idx); // Get previous channel group
|
||||||
int GetNextNormal(int Idx); // Get next normal channel (not group)
|
int GetNextNormal(int Idx); // Get next normal channel (not group)
|
||||||
|
4
config.h
4
config.h
@ -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.179 2004/01/05 09:56:54 kls Exp $
|
* $Id: config.h 1.180 2004/01/05 10:05:57 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __CONFIG_H
|
#ifndef __CONFIG_H
|
||||||
@ -87,7 +87,7 @@ public:
|
|||||||
cConfig(void) { fileName = NULL; }
|
cConfig(void) { fileName = NULL; }
|
||||||
virtual ~cConfig() { free(fileName); }
|
virtual ~cConfig() { free(fileName); }
|
||||||
const char *FileName(void) { return fileName; }
|
const char *FileName(void) { return fileName; }
|
||||||
virtual bool Load(const char *FileName = NULL, bool AllowComments = false, bool MustExist = false)
|
bool Load(const char *FileName = NULL, bool AllowComments = false, bool MustExist = false)
|
||||||
{
|
{
|
||||||
Clear();
|
Clear();
|
||||||
if (FileName) {
|
if (FileName) {
|
||||||
|
Loading…
Reference in New Issue
Block a user