Coverity again
authorvulpescu <vulpescu@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 Feb 2011 07:56:33 +0000 (07:56 +0000)
committervulpescu <vulpescu@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 4 Feb 2011 07:56:33 +0000 (07:56 +0000)
EVE/EveDet/AliEveMUONTrack.cxx

index 7c8689e..28996f7 100644 (file)
@@ -779,8 +779,8 @@ void AliEveMUONTrack::Propagate(Float_t *xr, Float_t *yr, Float_t *zr, Int_t i1,
   trackParamAtCluster = fTrack->GetTrackParamAtCluster();
 
   if (IsMUONTrack() || IsESDTrack() || IsRefTrack()) {
-    charge = (Int_t)trackParam->GetCharge();
     trackParam = (AliMUONTrackParam*)trackParamAtCluster->At(i1);
+    charge = (Int_t)trackParam->GetCharge();
   } else {
     return;
   }