detect: fix -Wshadow warning

pull/2432/head
Victor Julien 10 years ago
parent 070a6caaf3
commit f2f0f84cca

@ -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;

Loading…
Cancel
Save