From: Victor Julien Date: Wed, 27 Apr 2022 19:18:57 +0000 (+0200) Subject: output/flow: no double var init X-Git-Tag: suricata-7.0.0-beta1~607 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=404face284404848930ae8b743b318a7d592cd8e;p=thirdparty%2Fsuricata.git output/flow: no double var init --- diff --git a/src/output-flow.c b/src/output-flow.c index 04cb410660..ebef951ad5 100644 --- a/src/output-flow.c +++ b/src/output-flow.c @@ -101,8 +101,6 @@ TmEcode OutputFlowLog(ThreadVars *tv, void *thread_data, Flow *f) DEBUG_VALIDATE_BUG_ON(logger != NULL && store == NULL); DEBUG_VALIDATE_BUG_ON(logger == NULL && store == NULL); - logger = list; - store = op_thread_data->store; while (logger && store) { DEBUG_VALIDATE_BUG_ON(logger->LogFunc == NULL);