Skip to content

Commit 6538569

Browse files
Fix for GH issue #90
Removing tautological comparison which was introduced in commit a658a35 Author: Matthias Richter <Matthias.Richter@scieq.net> Date: Thu Mar 19 21:55:30 2015 +0100 forwarding event header also if there are no output blocks; adjusting conditions for warning messages
1 parent 65e5459 commit 6538569

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

devices/aliceHLTwrapper/Component.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ int Component::process(vector<MessageFormat::BufferDesc_t>& dataArray,
264264
} while (iResult == ENOSPC && --nofTrials > 0);
265265

266266
// prepare output
267-
if (outputBlockCnt >= 0) {
267+
{ // keep this after removing condition to preserve formatting
268268
AliHLTUInt8_t* pOutputBufferStart = &mOutputBuffer[0];
269269
AliHLTUInt8_t* pOutputBufferEnd = pOutputBufferStart + mOutputBuffer.size();
270270
// consistency check for data blocks

0 commit comments

Comments
 (0)