add left/right side trim cursors and use them for region trimming, as appropriate
[ardour.git] / libs / ardour / location.cc
index f855cb75cffff6c67248eaf0befb18d3461b714d..7202e1ef035def7603447ef8fe9ca5630ac9887e 100644 (file)
@@ -548,6 +548,8 @@ Locations::clear_ranges ()
 void
 Locations::add (Location *loc, bool make_current)
 {
+       assert (loc);
+       
        {
                Glib::Mutex::Lock lm (lock);
                locations.push_back (loc);