mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-17 19:50:41 +01:00
nitfix: clarify missing return state check
fixes a clang static analyzer warning
This commit is contained in:
parent
a2fd394f1f
commit
93546dba30
5
action.c
5
action.c
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user