mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
addressed a number of code review comments
This commit is contained in:
parent
b3e3cb847b
commit
d4eb0224a1
9 changed files with 56 additions and 71 deletions
|
@ -359,7 +359,7 @@ void Attributes::CheckAttr(Attr* a)
|
|||
// Ok.
|
||||
break;
|
||||
|
||||
auto e = check_and_promote_expr(a->GetExpr().get(), type.get());
|
||||
auto e = check_and_promote_expr(a->GetExpr(), type);
|
||||
|
||||
if ( e )
|
||||
{
|
||||
|
@ -399,7 +399,7 @@ void Attributes::CheckAttr(Attr* a)
|
|||
// Ok.
|
||||
break;
|
||||
|
||||
auto e = check_and_promote_expr(a->GetExpr().get(), ytype.get());
|
||||
auto e = check_and_promote_expr(a->GetExpr(), ytype);
|
||||
|
||||
if ( e )
|
||||
{
|
||||
|
@ -425,7 +425,7 @@ void Attributes::CheckAttr(Attr* a)
|
|||
|
||||
if ( (atype->Tag() == TYPE_TABLE && atype->AsTableType()->IsUnspecifiedTable()) )
|
||||
{
|
||||
auto e = check_and_promote_expr(a->GetExpr().get(), type.get());
|
||||
auto e = check_and_promote_expr(a->GetExpr(), type);
|
||||
|
||||
if ( e )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue