]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
getting rid of compilation warnings
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 19 Feb 2008 13:36:17 +0000 (13:36 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 19 Feb 2008 13:36:17 +0000 (13:36 +0000)
HLT/BASE/AliHLTComponent.cxx
HLT/BASE/AliHLTModuleAgent.h
HLT/BASE/AliHLTOUT.cxx
HLT/BASE/AliHLTOUTHandler.cxx
HLT/BASE/util/AliHLTBlockFilterComponent.cxx
HLT/SampleLib/AliHLTSamplePreprocessor.cxx
HLT/TPCLib/AliHLTTPCAgent.cxx
HLT/TPCLib/AliHLTTPCClusterFinderComponent.cxx
HLT/TPCLib/AliHLTTPCSliceTrackerComponent.cxx
HLT/rec/AliRawReaderHLT.h

index 8a1e1ff93a06ee322fb92d3aa3ee4d7640f6fe87..a1679fbaf59c777a6e7aebe67e4a1b8f78e78c6a 100644 (file)
@@ -207,7 +207,7 @@ int AliHLTComponent::InitCDB(const char* cdbPath, AliHLTComponentHandler* pHandl
 {
   // see header file for function documentation
   int iResult=0;
-  if (cdbPath, pHandler) {
+  if (cdbPath && pHandler) {
   // I have to think about separating the library handling from the
   // component handler. Requiring the component hanlder here is not
   // the cleanest solution.
index d3b0855e105e68305ce3094d1d1844a33d100f67..8a2255ff208d429b94957158dd6247e2c0be6e68 100644 (file)
@@ -264,7 +264,7 @@ class AliHLTModuleAgent : public TObject, public AliHLTLogging {
       : fHType(src.fHType), fDt(src.fDt), fModule(src.fModule) {}
 
     const AliHLTOUTHandlerDesc& operator=(const AliHLTOUTHandlerDesc& src) {
-      fHType=src.fHType; fDt=src.fDt; fModule=src.fModule;
+      fHType=src.fHType; fDt=src.fDt; fModule=src.fModule; return *this;
     }
 
     ~AliHLTOUTHandlerDesc() {}
index eec69daedb93020d69dfdaefcaf4001407923d79..21a1ea324fce2bf7acc6ebfd57abfee317c5b75e 100644 (file)
@@ -284,7 +284,6 @@ int AliHLTOUT::InsertHandler(const AliHLTOUTHandlerListEntry &entry)
 AliHLTOUT::AliHLTOUTHandlerListEntry AliHLTOUT::FindHandlerDesc(AliHLTUInt32_t blockIndex)
 {
   // see header file for class documentation
-  int iResult=0;
   vector<AliHLTOUTHandlerListEntry>::iterator element=fDataHandlers.begin();
   while (element!=fDataHandlers.end()) {
     if (element->HasIndex(blockIndex)) {
@@ -352,7 +351,7 @@ AliHLTOUT::AliHLTOUTHandlerListEntry& AliHLTOUT::AliHLTOUTHandlerListEntry::oper
 AliHLTUInt32_t AliHLTOUT::AliHLTOUTHandlerListEntry::operator[](int i) const
 {
   // see header file for class documentation
-  return fBlocks.size()>i?fBlocks[i]:AliHLTOUTInvalidIndex;
+  return (int)fBlocks.size()>i?fBlocks[i]:AliHLTOUTInvalidIndex;
 }
 
 bool AliHLTOUT::AliHLTOUTHandlerListEntry::operator==(const AliHLTOUTHandlerListEntry& entry) const
index 8988633dce5a0aa647c7ff9f92bf978011117a09..9831003f7a09b0b635628124f085c633058ae482 100644 (file)
@@ -48,7 +48,7 @@ int AliHLTOUTHandler::GetProcessedData(const AliHLTUInt8_t* &pData)
   return 0;
 }
 
-int AliHLTOUTHandler::ReleaseProcessedData(const AliHLTUInt8_t* pData, int size)
+int AliHLTOUTHandler::ReleaseProcessedData(const AliHLTUInt8_t* /*pData*/, int /*size*/)
 {
   // see header file for class documentation
   return 0;
index f88cc931b6f8b376e008e801d1223dce1fccd8c5..3e613403b0b3c93f7e2207e90fd3561d1e94b3e1 100644 (file)
@@ -155,12 +155,12 @@ int AliHLTBlockFilterComponent::DoDeinit()
   return iResult;
 }
 
-int AliHLTBlockFilterComponent::DoEvent( const AliHLTComponentEventData& evtData,
-                                        const AliHLTComponentBlockData* blocks
+int AliHLTBlockFilterComponent::DoEvent( const AliHLTComponentEventData& /*evtData*/,
+                                        const AliHLTComponentBlockData* /*blocks*/
                                         AliHLTComponentTriggerData& /*trigData*/,
                                         AliHLTUInt8_t* /*outputPtr*/, 
                                         AliHLTUInt32_t& size,
-                                        AliHLTComponentBlockDataList& outputBlocks )
+                                        AliHLTComponentBlockDataList& /*outputBlocks*/ )
 {
   // see header file for class documentation
   int iResult=0;
index 07c8ea1a40bea59a98b9ef748d2e98567295356b..90714ef85d2eb38ed3c6550898470cf2114e8d70 100644 (file)
@@ -51,9 +51,10 @@ AliHLTSamplePreprocessor::~AliHLTSamplePreprocessor()
   // see header file for function documentation
 }
 
-void AliHLTSamplePreprocessor::Initialize(Int_t run, UInt_t startTime
-                                   UInt_t endTime)
+void AliHLTSamplePreprocessor::Initialize(Int_t /*run*/, UInt_t /*startTime*/
+                                         UInt_t /*endTime*/)
 {
+  // see header file for function documentation
 }
 
 
index 53f0f7bab3b3ad215bcf2ef57cc9e58beeb13dae..6afc8b40dc1c22b3864e7c4dd97c0f0b7e5ff2a1 100644 (file)
@@ -155,7 +155,7 @@ int AliHLTTPCAgent::GetHandlerDescription(AliHLTComponentDataType dt,
 }
 
 AliHLTOUTHandler* AliHLTTPCAgent::GetOutputHandler(AliHLTComponentDataType dt,
-                                                  AliHLTUInt32_t spec)
+                                                  AliHLTUInt32_t /*spec*/)
 {
   // see header file for class documentation
   if (dt==(kAliHLTDataTypeDDLRaw|kAliHLTDataOriginTPC)) {
index e9de487bd5ef208ada3fca6c56c5c041d9295337..8d3e98e22b5ac4ff0bff89330a511a18969832a2 100644 (file)
@@ -105,6 +105,8 @@ const char* AliHLTTPCClusterFinderComponent::GetComponentID()
     return "TPCClusterFinderDecoder";
     break;
   }
+  HLTFatal("unknown digit reader type");
+  return "";
 }
 
 void AliHLTTPCClusterFinderComponent::GetInputDataTypes( vector<AliHLTComponentDataType>& list)
@@ -561,4 +563,5 @@ int AliHLTTPCClusterFinderComponent::Reconfigure(const char* cdbEntry, const cha
       HLTError("can not fetch object \"%s\" from CDB", path);
     }
   }
+  return 0;
 }
index 0fd53ef116d0e9fac2099d758b2481171f205fc1..2003c2d838bba57f08cba59d2e3bd045049dc564 100644 (file)
@@ -72,7 +72,6 @@ AliHLTTPCSliceTrackerComponent::AliHLTTPCSliceTrackerComponent()
   fBField(0.4),
   fnonvertextracking(kFALSE),
   fmainvertextracking(kTRUE),
-  fpInterMerger(NULL),
   fPhisegment(50),
   fEtasegment(100),
   fTrackletlength(3),
@@ -87,7 +86,8 @@ AliHLTTPCSliceTrackerComponent::AliHLTTPCSliceTrackerComponent()
   fTrackChi2Cut(50),
   fMaxdist(50),
   fMaxphi(0.1),
-  fMaxeta(0.1)
+  fMaxeta(0.1),
+  fpInterMerger(NULL)
 {
   // see header file for class documentation
   // or
index f790e1091c73e1dd7d8c95b4f6fbfbf69c2a9b24..7faebb4d264164fa6ea5021082094bb8174f3ca5 100644 (file)
@@ -43,6 +43,9 @@ class AliRawReaderHLT : public AliRawReader {
                  Int_t minDDLID = -1, Int_t maxDDLID = -1);
 //   void     Select(const char *detectorName, 
 //               Int_t minDDLID = -1, Int_t maxDDLID = -1);
+
+  using AliRawReader::Select;
+
   void     SelectEquipment(Int_t equipmentType, 
                           Int_t minEquipmentId = -1, 
                           Int_t maxEquipmentId = -1);