Fixed cConfig::Load() for g++ version 4.7.0

This commit is contained in:
Klaus Schmidinger 2012-01-11 15:41:55 +01:00
parent 875aebe14b
commit de4780fad2
3 changed files with 4 additions and 2 deletions

View File

@ -1936,6 +1936,7 @@ Ville Skytt
cSatCableNumbers was wrong
for removing a redundant NULL check in cDvbSpuDecoder::setTime()
for pointing out that the variable HasSnr was unused in cDvbTuner::GetSignalQuality()
for fixing cConfig::Load() for g++ version 4.7.0
Steffen Beyer <cpunk@reactor.de>
for fixing setting the colored button help after deleting a recording in case the next

View File

@ -6811,3 +6811,4 @@ Video Disk Recorder Revision History
Reel).
- Added support for DVB-T2 to libsi (thanks to Rolf Ahrenberg).
- Added support for handling DVB-T2 transponders (thanks to Rolf Ahrenberg).
- Fixed cConfig::Load() for g++ version 4.7.0 (thanks to Ville Skyttä).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: config.h 2.37 2011/12/04 21:46:30 kls Exp $
* $Id: config.h 2.38 2012/01/11 15:40:47 kls Exp $
*/
#ifndef __CONFIG_H
@ -122,7 +122,7 @@ public:
if (!isempty(s)) {
T *l = new T;
if (l->Parse(s))
Add(l);
this->Add(l);
else {
esyslog("ERROR: error in %s, line %d", fileName, line);
delete l;