summaryrefslogtreecommitdiffstats
path: root/runtime/queue.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-11-04 18:53:13 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-11-04 18:53:13 +0100
commit774f7b7986c7eb84c1d3c7e75ee5f1b03a4f055b (patch)
treedf2cf6f0be53ae551af54accab4ea67121032e08 /runtime/queue.c
parent9bbd09b1d3c1a1e4562a6d5c2e7040c5a0efa39c (diff)
downloadrsyslog-774f7b7986c7eb84c1d3c7e75ee5f1b03a4f055b.tar.gz
rsyslog-774f7b7986c7eb84c1d3c7e75ee5f1b03a4f055b.tar.bz2
rsyslog-774f7b7986c7eb84c1d3c7e75ee5f1b03a4f055b.zip
refactor: remove no longer needed elements from batch_t
Diffstat (limited to 'runtime/queue.c')
-rw-r--r--runtime/queue.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/queue.c b/runtime/queue.c
index 93661e41..18f62ffa 100644
--- a/runtime/queue.c
+++ b/runtime/queue.c
@@ -964,7 +964,6 @@ static rsRetVal qAddDirect(qqueue_t *pThis, msg_t* pMsg, wti_t *pWti)
batch_t singleBatch;
batch_obj_t batchObj;
batch_state_t batchState = BATCH_STATE_RDY;
- sbool active = 1;
int i;
DEFiRet;
@@ -985,7 +984,6 @@ static rsRetVal qAddDirect(qqueue_t *pThis, msg_t* pMsg, wti_t *pWti)
singleBatch.nElem = 1; /* there always is only one in direct mode */
singleBatch.pElem = &batchObj;
singleBatch.eltState = &batchState;
- singleBatch.active = &active;
iRet = pThis->pConsumer(pThis->pAction, &singleBatch, pWti, &pThis->bShutdownImmediate);
msgDestruct(&pMsg);