]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
minor fixes for compiler warnings (unused variables)
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Jan 2012 11:00:19 +0000 (11:00 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 5 Jan 2012 11:00:19 +0000 (11:00 +0000)
HLT/BASE/AliHLTTask.cxx
HLT/BASE/util/AliHLTDataGenerator.cxx
HLT/BASE/util/AliHLTGlobalBarrelTrack.cxx

index b518378086ed6346c8962a0dede12c37d3d5aafe..d766f557fa41358068aa595a3595014afd775e6b 100644 (file)
@@ -803,7 +803,6 @@ int AliHLTTask::SubscribeSourcesAndSkip()
     if (!pSrcTask) continue;
     unsigned iPosition=fBlockDataArray.size();
     if ((iResult=pSrcTask->Subscribe(this, fBlockDataArray))>0) {
-      AliHLTComponentBlockDataList::iterator block=fBlockDataArray.begin();
       for (unsigned i=iPosition; i<fBlockDataArray.size(); i++) {
        subscribedTaskList.push_back(pSrcTask);
       }
index d1c21e94ac8fd1231fd43c96e82854414efbb784..5be1104b5a3e78d22c49fe72300946bba32b6bd7 100644 (file)
@@ -350,7 +350,7 @@ int AliHLTDataGenerator::DoEvent( const AliHLTComponentEventData& evtData,
          fCurrSize-=fDecrement;
        }
        HLTDebug("manipulated output size from %d to %d", backup, fCurrSize);
-       backup=0; // just to avoid warning 'unused variable' in the release version
+       if (backup==0) {/*just to avoid warning 'unused variable' in the release version*/}
       }
     }
 
index 52b2e06f07abcedc261412165be39f958f0ea7c0..59b7ab47673ce2973d47e3cf894ca96d9ed8b693 100644 (file)
@@ -557,7 +557,7 @@ int AliHLTGlobalBarrelTrack::DrawProjXYTrack(Option_t *option, const float scale
 {
   /// draw track
   bool bDrawArc=false; // draw TArc
-  bool bNoTrackPoints=false; // don't draw track points
+  //bool bNoTrackPoints=false; // don't draw track points
   TString strOption(option);
   if (strOption.IsNull()) strOption="spacepoints trackarc";
   std::auto_ptr<TObjArray> tokens(strOption.Tokenize(" "));
@@ -574,7 +574,7 @@ int AliHLTGlobalBarrelTrack::DrawProjXYTrack(Option_t *option, const float scale
     }
     key="notrackpoints";
     if (arg.BeginsWith(key)) {
-      bNoTrackPoints=true;
+      //bNoTrackPoints=true;
       continue;
     }
   }