Fix uninitialized (or unused) fields.

This commit is contained in:
Jon Siwek 2013-09-27 10:13:52 -05:00
parent 64f3bef96d
commit 775ec6795e
62 changed files with 135 additions and 98 deletions

View file

@ -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()