Coverity correction
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 28 Jan 2011 07:23:22 +0000 (07:23 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 28 Jan 2011 07:23:22 +0000 (07:23 +0000)
JETAN/AliJetHadronCorrectionv1.cxx

index 799517f..d72dd72 100644 (file)
@@ -69,7 +69,8 @@ void AliJetHadronCorrectionv1::SetGeometry2(AliJetDummyGeo *geometry)
     if (!geometry)
     {
        SetParameters();
-       fSamplingFraction = geometry->GetSampling();
+//      commented out since geometry is 0x0 after null check
+//     fSamplingFraction = geometry->GetSampling();
     }else
     {
         SetParameters(geometry->GetName());