diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-07-11 15:44:04 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-07-11 15:44:04 +0200 |
commit | 05ff79aa1f928e42bf9883e946923353eb2925ac (patch) | |
tree | b3ac2f6fd9f45bc51b78578dced6fc62246a918e /runtime/rule.c | |
parent | 31900e004bbfd6da025e64844e2a07247dc87e94 (diff) | |
download | rsyslog-05ff79aa1f928e42bf9883e946923353eb2925ac.tar.gz rsyslog-05ff79aa1f928e42bf9883e946923353eb2925ac.tar.xz rsyslog-05ff79aa1f928e42bf9883e946923353eb2925ac.zip |
even more cleanup ;)
Diffstat (limited to 'runtime/rule.c')
-rw-r--r-- | runtime/rule.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/runtime/rule.c b/runtime/rule.c index 1a430577..cbd2660d 100644 --- a/runtime/rule.c +++ b/runtime/rule.c @@ -36,7 +36,6 @@ #include "action.h" #include "rule.h" #include "errmsg.h" -#include "var.h" #include "srUtils.h" #include "batch.h" #include "parserif.h" @@ -121,7 +120,6 @@ shouldProcessThisMessage(rule_t *pRule, msg_t *pMsg, sbool *bProcessMsg) uchar *pszPropVal; int bRet = 0; size_t propLen; - var_t *pResult = NULL; ISOBJ_TYPE_assert(pRule, rule); assert(pMsg != NULL); @@ -262,10 +260,6 @@ shouldProcessThisMessage(rule_t *pRule, msg_t *pMsg, sbool *bProcessMsg) } finalize_it: - /* destruct in any case, not just on error, but it makes error handling much easier */ - if(pResult != NULL) - var.Destruct(&pResult); - *bProcessMsg = bRet; RETiRet; } |