mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Fix a confusing variable name shadowing
This commit is contained in:
parent
ffe8a018a1
commit
f70ecccc34
3 changed files with 7 additions and 3 deletions
|
@ -1341,8 +1341,8 @@ static void find_nested_record_types(BroType* t, std::set<RecordType*>* found)
|
|||
return;
|
||||
case TYPE_LIST:
|
||||
{
|
||||
for ( auto& t : *t->AsTypeList()->Types() )
|
||||
find_nested_record_types(t, found);
|
||||
for ( auto& type : *t->AsTypeList()->Types() )
|
||||
find_nested_record_types(type, found);
|
||||
}
|
||||
return;
|
||||
case TYPE_FUNC:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue