Skip to content

Commit

Permalink
Bug fix: AliHLTTPCRawSpacePointContainer
Browse files Browse the repository at this point in the history
accepting also empty input blocks (0 clusters), to avoid error messages
  • Loading branch information
tbreitne committed May 20, 2014
1 parent 8ce53f9 commit a54e242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HLT/TPCLib/AliHLTTPCRawSpacePointContainer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ int AliHLTTPCRawSpacePointContainer::AddInputBlock(const AliHLTComponentBlockDat
return 0;
}
if (!pDesc->fPtr) return -ENODATA;
if (pDesc->fSize<=sizeof(AliHLTTPCRawClusterData)) return 0;
if (pDesc->fSize<sizeof(AliHLTTPCRawClusterData)) return 0;

AliHLTTPCRawClusterData* rawClusters = (AliHLTTPCRawClusterData*)(pDesc->fPtr);

Expand Down

0 comments on commit a54e242

Please sign in to comment.