fix for compiler warning

This commit is contained in:
Volker Fischer 2013-02-13 18:25:56 +00:00
parent c44fa8617b
commit 25321dec2a

View file

@ -618,17 +618,17 @@ class CChannelInfo : public CChannelCoreInfo
{ {
public: public:
CChannelInfo() : CChannelInfo() :
bOnlyNameIsUsed ( false ),
iChanID ( 0 ), iChanID ( 0 ),
iIpAddr ( 0 ), iIpAddr ( 0 ) {}
bOnlyNameIsUsed ( false ) {}
CChannelInfo ( const int NiID, CChannelInfo ( const int NiID,
const quint32 NiIP, const quint32 NiIP,
const CChannelCoreInfo& NCorInf ) : const CChannelCoreInfo& NCorInf ) :
CChannelCoreInfo ( NCorInf ), CChannelCoreInfo ( NCorInf ),
bOnlyNameIsUsed ( false ),
iChanID ( NiID ), iChanID ( NiID ),
iIpAddr ( NiIP ), iIpAddr ( NiIP ) {}
bOnlyNameIsUsed ( false ) {}
CChannelInfo ( const int NiID, CChannelInfo ( const int NiID,
const quint32 NiIP, const quint32 NiIP,
@ -642,9 +642,9 @@ public:
NsCity, NsCity,
NiInstrument, NiInstrument,
NeSkillLevel ), NeSkillLevel ),
bOnlyNameIsUsed ( false ),
iChanID ( NiID ), iChanID ( NiID ),
iIpAddr ( NiIP ), iIpAddr ( NiIP ) {}
bOnlyNameIsUsed ( false ) {}
// #### COMPATIBILITY OLD VERSION, TO BE REMOVED #### // #### COMPATIBILITY OLD VERSION, TO BE REMOVED ####
@ -656,9 +656,9 @@ CChannelInfo ( const int NiID,
"", "",
CInstPictures::GetNotUsedInstrument(), CInstPictures::GetNotUsedInstrument(),
SL_NOT_SET ), SL_NOT_SET ),
bOnlyNameIsUsed ( true ),
iChanID ( NiID ), iChanID ( NiID ),
iIpAddr ( NiIP ), iIpAddr ( NiIP ) {}
bOnlyNameIsUsed ( true ) {}
// in old versions, the name was the only client info -> to be removed // in old versions, the name was the only client info -> to be removed
// when compatiblility to old versions is removed // when compatiblility to old versions is removed