add abort() to non-reached code
[ardour.git] / gtk2_ardour / streamview.cc
index ed759f3a7edc6109ee2728cd0521b4ba74574c62..73e150549f04faf47fb7aa2949139b880eb13b24 100644 (file)
@@ -431,7 +431,7 @@ StreamView::update_rec_box ()
 
                default:
                        fatal << string_compose (_("programming error: %1"), "illegal track mode") << endmsg;
-                       /*NOTREACHED*/
+                       abort(); /*NOTREACHED*/
                        return;
                }
 
@@ -575,7 +575,7 @@ StreamView::child_height () const
                return height / (_layers * 2 + 1);
        }
        
-       /* NOTREACHED */
+       abort(); /* NOTREACHED */
        return height;
 }