mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
&on_change: Address feedback of Jon.
Forgot to commit a file *sigh*
This commit is contained in:
parent
d6d2bbe878
commit
b69a059b1a
1 changed files with 1 additions and 2 deletions
|
@ -507,7 +507,7 @@ void Attributes::CheckAttr(Attr* a)
|
||||||
|
|
||||||
const TableType* the_table = type->AsTableType();
|
const TableType* the_table = type->AsTableType();
|
||||||
|
|
||||||
if (the_table->IsUnspecifiedTable())
|
if ( the_table->IsUnspecifiedTable() )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
const type_list* args = c_ft->ArgTypes()->Types();
|
const type_list* args = c_ft->ArgTypes()->Types();
|
||||||
|
@ -531,7 +531,6 @@ void Attributes::CheckAttr(Attr* a)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool indexmatch = true;
|
|
||||||
for ( int i = 0; i < t_indexes->length(); i++ )
|
for ( int i = 0; i < t_indexes->length(); i++ )
|
||||||
{
|
{
|
||||||
if ( ! same_type((*args)[2+i], (*t_indexes)[i]) )
|
if ( ! same_type((*args)[2+i], (*t_indexes)[i]) )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue