]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/util/AliHLTCompStatCollector.cxx
fixing warnings
[u/mrichter/AliRoot.git] / HLT / BASE / util / AliHLTCompStatCollector.cxx
index 456848c57fd06754b7aebbaea6c961fa942594cb..1a58a00cb11aa2a3e55840f9a9ddd37ee9695b34 100644 (file)
@@ -377,10 +377,11 @@ int AliHLTCompStatCollector::DoEvent( const AliHLTComponentEventData& /*evtData*
          if (parentFolder) {
            TIter entries(parentFolder->GetListOfFolders());
            while (TObject* entry=entries.Next())
+#ifdef __DEBUG
              if (entry) {
-               Bool_t foo; foo=kTRUE;// only to avoid warning in non-debug compile
                HLTDebug("   searching %s in %s: %s", idstr.Data(), (*consumer)->GetName(), entry->GetName());
              }
+#endif
            TObject* parent=parentFolder->FindObjectAny(idstr);
            if (parent) {
              parentFolder->Add(*publisher);