Coverity
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 Feb 2011 16:22:41 +0000 (16:22 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 2 Feb 2011 16:22:41 +0000 (16:22 +0000)
EVE/EveDet/AliEveListAnalyser.cxx

index 4c109e4..9dfb0d4 100644 (file)
@@ -761,7 +761,7 @@ Bool_t AliEveListAnalyser::ApplyProcessMacros(const TList* selIterator, const TL
           if (!selectedByCorrSelMacro) continue;
 
           returnedHist = (TH1*)gROOT->ProcessLineSync(procCmds[i]);
-          if (returnedHist)
+          if (returnedHist && numHistoMacros)
           {
             if (!histos[histoIndex])  histos[histoIndex] = returnedHist;
             else