coverity warnings fixed
authorsgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 31 May 2011 10:37:48 +0000 (10:37 +0000)
committersgorbuno <sgorbuno@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 31 May 2011 10:37:48 +0000 (10:37 +0000)
HLT/TPCLib/merger-ca/AliHLTTPCGMTrackParam.cxx
HLT/TPCLib/tracking-ca/AliHLTTPCCATracker.cxx

index 47bd3bd..711887c 100644 (file)
@@ -578,4 +578,4 @@ GPUg() void RefitTracks(AliHLTTPCGMMergedTrack* tracks, int nTracks, float* Poli
        }
 }
 
-#endif
\ No newline at end of file
+#endif
index f1832ad..7d76490 100644 (file)
@@ -117,7 +117,11 @@ char* AliHLTTPCCATracker::SetGPUTrackerHitsMemory(char* pGPUMemory, int MaxNHits
        return(pGPUMemory);
 }
 
-char* AliHLTTPCCATracker::SetGPUTrackerTrackletsMemory(char* pGPUMemory, int MaxNTracks, int constructorBlockCount)
+char* AliHLTTPCCATracker::SetGPUTrackerTrackletsMemory(char* pGPUMemory, int MaxNTracks, int 
+#ifndef HLTCA_GPU_ALTERNATIVE_SCHEDULER
+constructorBlockCount
+#endif
+)
 {
        //Set up Tracklet Memory Pointers for GPU Tracker
        fTrackletMemory = (char*) pGPUMemory;