nitfix: clarify missing return state check

fixes a clang static analyzer warning
This commit is contained in:
Rainer Gerhards 2015-12-05 18:59:40 +01:00
parent a2fd394f1f
commit 93546dba30

View File

@ -1341,7 +1341,10 @@ processBatchMain(void *__restrict__ const pVoid,
for(i = 0 ; i < batchNumMsgs(pBatch) && !*pWti->pbShutdownImmediate ; ++i) {
if(batchIsValidElem(pBatch, i)) {
iRet = processMsgMain(pAction, pWti, pBatch->pElem[i].pMsg, &ttNow);
/* we do not check error state below, because aborting would be
* more harmful than continuing.
*/
processMsgMain(pAction, pWti, pBatch->pElem[i].pMsg, &ttNow);
batchSetElemState(pBatch, i, BATCH_STATE_COMM);
}
}