Fix a confusing variable name shadowing

This commit is contained in:
Jon Siwek 2020-04-14 15:29:00 -07:00
parent ffe8a018a1
commit f70ecccc34
3 changed files with 7 additions and 3 deletions

View file

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