From 25321dec2a7b65b425cadbbfb90d343dbcb1a5a7 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Wed, 13 Feb 2013 18:25:56 +0000 Subject: [PATCH] fix for compiler warning --- src/util.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/util.h b/src/util.h index 710e43e0..2e3e3aa1 100755 --- a/src/util.h +++ b/src/util.h @@ -618,17 +618,17 @@ class CChannelInfo : public CChannelCoreInfo { public: CChannelInfo() : + bOnlyNameIsUsed ( false ), iChanID ( 0 ), - iIpAddr ( 0 ), - bOnlyNameIsUsed ( false ) {} + iIpAddr ( 0 ) {} CChannelInfo ( const int NiID, const quint32 NiIP, const CChannelCoreInfo& NCorInf ) : CChannelCoreInfo ( NCorInf ), + bOnlyNameIsUsed ( false ), iChanID ( NiID ), - iIpAddr ( NiIP ), - bOnlyNameIsUsed ( false ) {} + iIpAddr ( NiIP ) {} CChannelInfo ( const int NiID, const quint32 NiIP, @@ -642,9 +642,9 @@ public: NsCity, NiInstrument, NeSkillLevel ), + bOnlyNameIsUsed ( false ), iChanID ( NiID ), - iIpAddr ( NiIP ), - bOnlyNameIsUsed ( false ) {} + iIpAddr ( NiIP ) {} // #### COMPATIBILITY OLD VERSION, TO BE REMOVED #### @@ -656,9 +656,9 @@ CChannelInfo ( const int NiID, "", CInstPictures::GetNotUsedInstrument(), SL_NOT_SET ), + bOnlyNameIsUsed ( true ), iChanID ( NiID ), - iIpAddr ( NiIP ), - bOnlyNameIsUsed ( true ) {} + iIpAddr ( NiIP ) {} // in old versions, the name was the only client info -> to be removed // when compatiblility to old versions is removed