mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Fix uninitialized (or unused) fields.
This commit is contained in:
parent
64f3bef96d
commit
775ec6795e
62 changed files with 135 additions and 98 deletions
|
@ -1564,10 +1564,8 @@ bool EnumType::DoUnserialize(UnserialInfo* info)
|
|||
}
|
||||
|
||||
VectorType::VectorType(BroType* element_type)
|
||||
: BroType(TYPE_VECTOR)
|
||||
: BroType(TYPE_VECTOR), yield_type(element_type)
|
||||
{
|
||||
if ( element_type )
|
||||
yield_type = element_type;
|
||||
}
|
||||
|
||||
VectorType::~VectorType()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue