mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
fix bug in failing to concretize empty vectors
This commit is contained in:
parent
59db8a11bd
commit
b53a025b1e
1 changed files with 0 additions and 4 deletions
|
@ -3921,10 +3921,6 @@ bool VectorVal::Concretize(const TypePtr& t)
|
|||
// shouldn't happen in any case.
|
||||
return yield_type->Tag() == t->Tag();
|
||||
|
||||
if ( vector_val.empty() )
|
||||
// Trivially concretized.
|
||||
return true;
|
||||
|
||||
auto n = vector_val.size();
|
||||
for ( auto i = 0U; i < n; ++i )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue