summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-01-14 16:02:25 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-01-14 16:02:25 +0100
commita207e26fb8a4e8d125d3a3c508a8ea8096ab1f67 (patch)
tree4e996d48009ef14627a13b9fd62f3758d2fd348f
parent49d1203b3582f7d637af11a226386a4df186e687 (diff)
downloadrsyslog-a207e26fb8a4e8d125d3a3c508a8ea8096ab1f67.tar.gz
rsyslog-a207e26fb8a4e8d125d3a3c508a8ea8096ab1f67.tar.bz2
rsyslog-a207e26fb8a4e8d125d3a3c508a8ea8096ab1f67.zip
optimize: minor cleanup (long scheduled...)
I did yet another safety-check that there are no problems with removing that de-init.
-rw-r--r--action.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/action.c b/action.c
index 88c8f225..b60a9703 100644
--- a/action.c
+++ b/action.c
@@ -874,15 +874,6 @@ static rsRetVal releaseBatch(action_t *pAction, batch_t *pBatch)
case ACT_STRING_PASSING:
case ACT_MSG_PASSING:
/* nothing to do in that case */
- /* TODO ... and yet we do something ;) This is considered not
- * really needed, but I was not bold enough to remove that while
- * fixing the stable. It should be removed in a devel version
- * soon (I really don't see a reason why we would need it).
- * rgerhards, 2010-12-16
- */
- for(j = 0 ; j < pAction->iNumTpls ; ++j) {
- ((uchar**)pElem->staticActParams)[j] = NULL;
- }
break;
case ACT_JSON_PASSING:
for(j = 0 ; j < pAction->iNumTpls ; ++j) {