initialize some uninitialized variables
authorRobin Gareus <robin@gareus.org>
Fri, 27 Dec 2013 13:04:49 +0000 (14:04 +0100)
committerRobin Gareus <robin@gareus.org>
Fri, 27 Dec 2013 13:04:49 +0000 (14:04 +0100)
libs/ardour/route.cc
libs/ardour/ticker.cc

index 2f69c3340aca6c9caaee31fa17905e2d5645c207..92a6544151b1816f12e20d1b1a8a7d7ed7a2fcc9 100644 (file)
@@ -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)
index 9a2cff7b2363e2256fa8bc57eb33e73c752d4932..15326af88242485d28c2122098f7e7719b3aac49 100644 (file)
@@ -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