13
0

fix some more uninitialized vars

This commit is contained in:
Robin Gareus 2015-09-07 00:00:44 +02:00
parent 6ade16b38d
commit d6a5e6fc2e
2 changed files with 2 additions and 0 deletions

View File

@ -104,6 +104,7 @@ Location::Location (const Location& other)
Location::Location (Session& s, const XMLNode& node)
: SessionHandleRef (s)
, _flags (Flags (0))
, _position_lock_style (AudioTime)
{
/* Note: _position_lock_style is initialised above in case set_state doesn't set it

View File

@ -103,6 +103,7 @@ ParameterDescriptor::ParameterDescriptor()
: Evoral::ParameterDescriptor()
, key((uint32_t)-1)
, datatype(Variant::NOTHING)
, type(NullAutomation)
, unit(NONE)
, step(0)
, smallstep(0)