summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2013-12-27 14:04:49 +0100
committerRobin Gareus <robin@gareus.org>2013-12-27 14:04:49 +0100
commit3f75d7884877fddbf73e1623e3a1bc3fe7ba5643 (patch)
tree5eb701e4e1a6c4b7904cfd7d3acc25280d0d4648
parent2cab506f0045adf1b89887b7d6b38579372de1df (diff)
initialize some uninitialized variables
-rw-r--r--libs/ardour/route.cc1
-rw-r--r--libs/ardour/ticker.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 2f69c3340a..92a6544151 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -96,6 +96,7 @@ Route::Route (Session& sess, string name, Flag flg, DataType default_type)
, _have_internal_generator (false)
, _solo_safe (false)
, _default_type (default_type)
+ , _order_key (0)
, _has_order_key (false)
, _remote_control_id (0)
, _in_configure_processors (false)
diff --git a/libs/ardour/ticker.cc b/libs/ardour/ticker.cc
index 9a2cff7b23..15326af882 100644
--- a/libs/ardour/ticker.cc
+++ b/libs/ardour/ticker.cc
@@ -38,7 +38,7 @@ class MidiClockTicker::Position : public Timecode::BBT_Time
{
public:
- Position() : speed(0.0f), frame(0) { }
+ Position() : speed(0.0f), frame(0), midi_beats(0) { }
~Position() { }
/** Sync timing information taken from the given Session