13
0

prevent a compiler warning

This commit is contained in:
Paul Davis 2014-01-20 10:52:59 -05:00
parent faf5bc982b
commit 8ad27cc777

View File

@ -45,6 +45,8 @@
#include "gui_thread.h" #include "gui_thread.h"
#include "utils.h" #include "utils.h"
#include "i18n.h"
using namespace std; using namespace std;
using namespace ARDOUR; using namespace ARDOUR;
using namespace PBD; using namespace PBD;
@ -419,6 +421,11 @@ StreamView::update_rec_box ()
xstart = _trackview.editor().sample_to_pixel (_trackview.track()->current_capture_start()); xstart = _trackview.editor().sample_to_pixel (_trackview.track()->current_capture_start());
xend = _trackview.editor().sample_to_pixel (at); xend = _trackview.editor().sample_to_pixel (at);
break; break;
default:
fatal << string_compose (_("programming error: %1"), "illegal track mode") << endmsg;
/*NOTREACHED*/
return;
} }
rect.rectangle->set_x0 (xstart); rect.rectangle->set_x0 (xstart);