From b69a059b1adcbaf84d68ddfa69d4141022d2630b Mon Sep 17 00:00:00 2001 From: Johanna Amann Date: Thu, 6 Feb 2020 14:42:03 -0800 Subject: [PATCH] &on_change: Address feedback of Jon. Forgot to commit a file *sigh* --- src/Attr.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Attr.cc b/src/Attr.cc index 3afbc9fcee..09b17e1e6a 100644 --- a/src/Attr.cc +++ b/src/Attr.cc @@ -507,7 +507,7 @@ void Attributes::CheckAttr(Attr* a) const TableType* the_table = type->AsTableType(); - if (the_table->IsUnspecifiedTable()) + if ( the_table->IsUnspecifiedTable() ) break; const type_list* args = c_ft->ArgTypes()->Types(); @@ -531,7 +531,6 @@ void Attributes::CheckAttr(Attr* a) break; } - bool indexmatch = true; for ( int i = 0; i < t_indexes->length(); i++ ) { if ( ! same_type((*args)[2+i], (*t_indexes)[i]) )