From e56b78b4ce30a4ffe0c36ae859fc886cbc2f16c3 Mon Sep 17 00:00:00 2001 From: aszostak Date: Fri, 6 Aug 2010 23:34:50 +0000 Subject: [PATCH] fixing warnings --- HLT/BASE/util/AliHLTCompStatCollector.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/HLT/BASE/util/AliHLTCompStatCollector.cxx b/HLT/BASE/util/AliHLTCompStatCollector.cxx index 456848c57fd..1a58a00cb11 100644 --- a/HLT/BASE/util/AliHLTCompStatCollector.cxx +++ b/HLT/BASE/util/AliHLTCompStatCollector.cxx @@ -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); -- 2.39.3