Fix undefined return value.
authorDavid Robillard <d@drobilla.net>
Sat, 19 Jan 2013 08:55:19 +0000 (08:55 +0000)
committerDavid Robillard <d@drobilla.net>
Sat, 19 Jan 2013 08:55:19 +0000 (08:55 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13893 d708f5d6-7413-0410-9779-e7cbd77b26cf

gtk2_ardour/automation_streamview.cc

index 7b2c1ab751b08a4150fd3d993f27526ce37b748d..e477b7ce728f598de03d56032a4c557633acae0f 100644 (file)
@@ -252,6 +252,7 @@ AutomationStreamView::interpolation () const
        if (v) {
                return v->line()->the_list()->interpolation ();
        }
+       return AutomationList::Linear;
 }
 
 /** Clear all automation displayed in this view */