]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - T0/AliT0QADataMakerRec.cxx
coverity fixed
[u/mrichter/AliRoot.git] / T0 / AliT0QADataMakerRec.cxx
index 2d881fdad82f525436eb0d57f53f843ca8fcb08d..3d7851802f77f755c126344415d0f22eb8cab498 100644 (file)
@@ -203,6 +203,7 @@ void AliT0QADataMakerRec::StartOfDetectorCycle()
   //man->SetDefaultStorage(gSystem->Getenv("AMORE_CDB_URI"));
   if(!man) return; 
   AliCDBEntry* entry = man->Get("GRP/Calib/QAThresholds");
+  if(!entry) return;
   TObjArray* t0branch = (TObjArray*) entry->GetObject();
   AliQAThresholds*  thresholds = (AliQAThresholds*) t0branch->FindObject("T00");
   // here you should test that you got a non-null pointer