Coverity fix
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Aug 2011 17:58:17 +0000 (17:58 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 8 Aug 2011 17:58:17 +0000 (17:58 +0000)
MUON/AliMUONAlignment.cxx

index 782d219..7f99b62 100644 (file)
@@ -1107,8 +1107,9 @@ AliMUONAlignmentTrackRecord* AliMUONAlignment::ProcessTrack( AliMUONTrack* track
 
     // and get new pointers
     fTrackParam = (AliMUONTrackParam *) fTrack->GetTrackParamAtCluster()->At(iCluster);
+    if ( ! fTrackParam ) continue;
     fCluster = fTrackParam->GetClusterPtr();
-    if (!fCluster || !fTrackParam) continue;
+    if ( ! fCluster ) continue;
     // if (fDetElemId<500) continue;
 
     // fill local variables for this position --> one measurement