mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
change vector assignment operator and remove unnecessary argument (expr)
This commit is contained in:
parent
a2556642e6
commit
8f259f866d
15 changed files with 63 additions and 69 deletions
|
@ -63,7 +63,7 @@ static VectorVal* BuildOptionsVal(const u_char* data, int len)
|
|||
len -= opt->ip6o_len + off;
|
||||
}
|
||||
|
||||
vv->Assign(vv->Size(), rv, 0);
|
||||
vv->Assign(vv->Size(), rv);
|
||||
}
|
||||
|
||||
return vv;
|
||||
|
@ -626,7 +626,7 @@ VectorVal* IPv6_Hdr_Chain::BuildVal() const
|
|||
reporter->InternalError("IPv6_Hdr_Chain bad header %d", type);
|
||||
break;
|
||||
}
|
||||
rval->Assign(rval->Size(), ext_hdr, 0);
|
||||
rval->Assign(rval->Size(), ext_hdr);
|
||||
}
|
||||
|
||||
return rval;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue