13
0

remove unnecessary (?) conditional.

Given that we use "port" after the test, the test makes no sense
This commit is contained in:
Paul Davis 2015-12-07 12:03:32 -05:00
parent 41b2de41d6
commit 2f48997dfb

View File

@ -680,10 +680,7 @@ FaderPort::midi_input_handler (Glib::IOCondition ioc, boost::shared_ptr<ARDOUR::
if (ioc & IO_IN) {
if (port) {
port->clear ();
}
port->clear ();
DEBUG_TRACE (DEBUG::FaderPort, string_compose ("data available on %1\n", boost::shared_ptr<MIDI::Port>(port)->name()));
framepos_t now = session->engine().sample_time();
port->parse (now);