]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
fixing warnings
authoraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 6 Aug 2010 23:34:50 +0000 (23:34 +0000)
committeraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 6 Aug 2010 23:34:50 +0000 (23:34 +0000)
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);