]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
removing unused variable
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Feb 2011 14:11:34 +0000 (14:11 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 3 Feb 2011 14:11:34 +0000 (14:11 +0000)
HLT/BASE/AliHLTComponentHandler.cxx

index 606806eb96e2e77db48f622ff4fb999d68768ea5..d407f6b502a8504798ff2b6f24901f8cbff6f863 100644 (file)
@@ -658,10 +658,9 @@ int AliHLTComponentHandler::RegisterScheduledComponents()
 int AliHLTComponentHandler::ActivateAgents(const char* library, const char* blackList)
 {
   // see header file for class documentation
-  int iResult=0;
   vector<AliHLTModuleAgent*> agents;
   for (AliHLTModuleAgent* pAgent=AliHLTModuleAgent::GetFirstAgent(); 
-       pAgent && iResult>=0;
+       pAgent!=NULL;
        pAgent=AliHLTModuleAgent::GetNextAgent()) {
 
     // check if we found the agent for the specified library