summaryrefslogtreecommitdiffstats
path: root/runtime/ruleset.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-10-24 14:44:45 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-10-24 14:44:45 +0200
commitbf1eef67ddfe16682d2733713ec0b2a3301840b9 (patch)
tree51b9008a6a38e689c9f29a6b516435d216ba1c16 /runtime/ruleset.c
parentc72a43d280744b2b1fec5e981651fc9bc8035f94 (diff)
downloadrsyslog-bf1eef67ddfe16682d2733713ec0b2a3301840b9.tar.gz
rsyslog-bf1eef67ddfe16682d2733713ec0b2a3301840b9.tar.bz2
rsyslog-bf1eef67ddfe16682d2733713ec0b2a3301840b9.zip
cleanup
Diffstat (limited to 'runtime/ruleset.c')
-rw-r--r--runtime/ruleset.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/runtime/ruleset.c b/runtime/ruleset.c
index bdeb61b7..8d2bb924 100644
--- a/runtime/ruleset.c
+++ b/runtime/ruleset.c
@@ -458,14 +458,12 @@ static void
execPROPFILT(struct cnfstmt *stmt, batch_t *pBatch, sbool *active)
{
sbool *thenAct;
- msg_t *pMsg;
sbool bRet;
int i;
thenAct = newActive(pBatch);
for(i = 0 ; i < batchNumMsgs(pBatch) && !*(pBatch->pbShutdownImmediate) ; ++i) {
if(pBatch->pElem[i].state == BATCH_STATE_DISC)
continue; /* will be ignored in any case */
- pMsg = (msg_t*)(pBatch->pElem[i].pUsrp);
if(active == NULL || active[i]) {
bRet = evalPROPFILT(stmt, (msg_t*)(pBatch->pElem[i].pUsrp));
} else