From d6a5e6fc2e43b835351a0f1d33e9dc3df7d8040f Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 7 Sep 2015 00:00:44 +0200 Subject: [PATCH] fix some more uninitialized vars --- libs/ardour/location.cc | 1 + libs/ardour/parameter_descriptor.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/libs/ardour/location.cc b/libs/ardour/location.cc index c693e1f5d5..4482876973 100644 --- a/libs/ardour/location.cc +++ b/libs/ardour/location.cc @@ -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 diff --git a/libs/ardour/parameter_descriptor.cc b/libs/ardour/parameter_descriptor.cc index 9a6f5506dc..56d39902c0 100644 --- a/libs/ardour/parameter_descriptor.cc +++ b/libs/ardour/parameter_descriptor.cc @@ -103,6 +103,7 @@ ParameterDescriptor::ParameterDescriptor() : Evoral::ParameterDescriptor() , key((uint32_t)-1) , datatype(Variant::NOTHING) + , type(NullAutomation) , unit(NONE) , step(0) , smallstep(0)