From f2f0f84ccab2ef060864233d1e908c8c99fb4ed4 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 28 Nov 2016 10:04:25 +0100 Subject: [PATCH] detect: fix -Wshadow warning --- src/detect-engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detect-engine.c b/src/detect-engine.c index 408b0bd049..6be055da56 100644 --- a/src/detect-engine.c +++ b/src/detect-engine.c @@ -530,7 +530,7 @@ static int DetectEngineReloadThreads(DetectEngineCtx *new_de_ctx) * silently after setting RUNNING_DONE flag and while waiting for * THV_DEINIT flag */ if (i != no_of_detect_tvs) { // not all threads we swapped - ThreadVars *tv = tv_root[TVT_PPT]; + tv = tv_root[TVT_PPT]; while (tv) { /* obtain the slots for this TV */ TmSlot *slots = tv->tm_slots;