summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-01-05 10:15:19 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-01-05 10:15:19 +0100
commita84d559d2cac67dca82be484571dfa125b67e657 (patch)
tree1c0aa59d5adee7bf19dc9b65a4a69bbba1efbbe4
parent113957107e0cbd98498339804d7dcdba4449761e (diff)
downloadvdr-a84d559d2cac67dca82be484571dfa125b67e657.tar.gz
vdr-a84d559d2cac67dca82be484571dfa125b67e657.tar.bz2
Fixed a compiler warning about virtual cConfig::Load() functions
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--channels.h4
-rw-r--r--config.h4
4 files changed, 7 insertions, 4 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index 37de3a0f..3205bdef 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -522,6 +522,7 @@ Lauri Tischler <lauri.tischler@efore.fi>
for reporting a faulty parameter initialization in menu.c
for reporting a problem in case the original current channel becomes
unavailable due to a recording on a different transponder
+ for reporting a compiler warning about virtual cConfig::Load() functions
Andy Carter <fruit@ukgateway.net>
for helping to test new DVB-T handling
diff --git a/HISTORY b/HISTORY
index 98a48efe..7db61283 100644
--- a/HISTORY
+++ b/HISTORY
@@ -2542,3 +2542,5 @@ Video Disk Recorder Revision History
- Fixed a lockup in the EPG scanner when no non-primary device was available
(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).
diff --git a/channels.h b/channels.h
index c3d9ad4e..ffc3be9d 100644
--- a/channels.h
+++ b/channels.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* 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
@@ -156,7 +156,7 @@ private:
int beingEdited;
public:
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 GetPrevGroup(int Idx); // Get previous channel group
int GetNextNormal(int Idx); // Get next normal channel (not group)
diff --git a/config.h b/config.h
index 494cca3d..4d27349b 100644
--- a/config.h
+++ b/config.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* 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
@@ -87,7 +87,7 @@ public:
cConfig(void) { fileName = NULL; }
virtual ~cConfig() { free(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();
if (FileName) {