Fix uninitialised variable.
authorCarl Hetherington <carl@carlh.net>
Thu, 9 Jul 2009 15:00:12 +0000 (15:00 +0000)
committerCarl Hetherington <carl@carlh.net>
Thu, 9 Jul 2009 15:00:12 +0000 (15:00 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@5340 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/editor_drag.cc

index 042ae5dd1f4da68ce70e4e349f6c35e68287c77d..f01a7ca2ca5fbfa5f3f48295f68be6c8a3d34c1a 100644 (file)
@@ -52,6 +52,7 @@ Drag::Drag (Editor* e, ArdourCanvas::Item* i) :
        _grab_frame (0),
        _last_pointer_frame (0),
        _current_pointer_frame (0),
+       _ending (false),
        _had_movement (false),
        _move_threshold_passed (false)
 {
@@ -541,7 +542,7 @@ RegionMotionDrag::motion (GdkEvent* event, bool first_move)
        for (list<RegionView*>::const_iterator i = _views.begin(); i != _views.end(); ++i) {
                
                RegionView* rv = (*i);
-               
+
                if (rv->region()->locked()) {
                        continue;
                }