]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
coverity fix (Jacek Otwinowski)
authorjotwinow <jotwinow@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Jun 2013 08:33:19 +0000 (08:33 +0000)
committerjotwinow <jotwinow@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 3 Jun 2013 08:33:19 +0000 (08:33 +0000)
PWGPP/TPC/AliTPCPerformanceSummary.cxx

index 4de8c8eb1f52f3c9ec4279d03eb498e44f8641ec..390b959abde0e822d82b1de1abb7dc12f03bb594 100644 (file)
@@ -2051,6 +2051,12 @@ Int_t AliTPCPerformanceSummary::AnalyzeConstrain(const AliPerformanceMatch* pCon
     negA = neg3->ProjectionZ("negA",71,-1,16,25);
 }
 
+if(!pos) return 512; 
+if(!neg) return 512; 
+if(!posA) return 512; 
+if(!negA) return 512; 
+if(!posC) return 512; 
+if(!negC) return 512; 
 
 pos->Sumw2();
 neg->Sumw2();