mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Fix a bunch of variable shadowing issues from LGTM
This commit is contained in:
parent
f8eb2d9241
commit
e8dbfc1cb0
10 changed files with 28 additions and 27 deletions
|
@ -1209,9 +1209,9 @@ WriterFrontend* Manager::CreateWriter(EnumVal* id, EnumVal* writer, WriterBacken
|
|||
|
||||
if ( ! found_filter_match )
|
||||
{
|
||||
const auto& id = zeek::detail::global_scope()->Find("Log::default_rotation_interval");
|
||||
const auto& interval = zeek::detail::global_scope()->Find("Log::default_rotation_interval");
|
||||
assert(id);
|
||||
winfo->interval = id->GetVal()->AsInterval();
|
||||
winfo->interval = interval->GetVal()->AsInterval();
|
||||
|
||||
if ( winfo->info->post_proc_func && strlen(winfo->info->post_proc_func) )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue