fixed a few warnings from clang static analysis
[ardour.git] / gtk2_ardour / route_time_axis.cc
index 715eec53b4bc219234958a4df6bef520b91b8dca..ccac1c2ec574d9ea096baae901cb869216029030 100644 (file)
@@ -725,7 +725,7 @@ RouteTimeAxisView::set_track_mode (TrackMode mode, bool apply_to_selection)
                _editor.get_selection().tracks.foreach_route_time_axis (boost::bind (&RouteTimeAxisView::set_track_mode, _1, mode, false));
        } else {
 
-               bool needs_bounce;
+               bool needs_bounce = false;
 
                if (!track()->can_use_mode (mode, needs_bounce)) {