eff c++ warnings
authorpanos <panos@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 Feb 2007 11:23:03 +0000 (11:23 +0000)
committerpanos <panos@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 8 Feb 2007 11:23:03 +0000 (11:23 +0000)
PWG2/EBYE/AliBalance.cxx

index 7f87a12..c6c19c9 100644 (file)
@@ -68,7 +68,9 @@ AliBalance::AliBalance(Double_t p2Start, Double_t p2Stop, Int_t p2Bins) :
 //____________________________________________________________________//
 AliBalance::AliBalance(const AliBalance& balance):
   TObject(balance),
+  fCharge(0),
   fNtrack(balance.fNtrack),
+  fV(0),
   fNumberOfBins(balance.fNumberOfBins),
   fAnalysisType(balance.fAnalysisType),
   fAnalyzedEvents(balance.fAnalyzedEvents),
@@ -76,9 +78,7 @@ AliBalance::AliBalance(const AliBalance& balance):
   fP2Stop(balance.fP2Stop),
   fP2Step(balance.fP2Step),
   fNn(balance.fNn),
-  fNp(balance.fNp),
-  fCharge(0),
-  fV(0)
+  fNp(balance.fNp)
 {
   //copy constructor